/* ==========================================================================
   لباسشویی اردبیل | استایل مشترک تمام صفحات سایت
   Domain: https://tamirlebasshooyiardabil.ir/
   ========================================================================== */

/* ===== FONT-FACE (YekanBakh) ===== */
@font-face { font-family: 'YekanBakh'; src: url('/font/yekanbakh/YekanBakh-Thin.ttf') format('truetype'); font-weight: 100; font-display: swap; }
@font-face { font-family: 'YekanBakh'; src: url('/font/yekanbakh/YekanBakh-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'YekanBakh'; src: url('/font/yekanbakh/YekanBakh-Regular_0.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'YekanBakh'; src: url('/font/yekanbakh/yekan bakh en 05 medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'YekanBakh'; src: url('/font/yekanbakh/YekanBakh-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'YekanBakh'; src: url('/font/yekanbakh/YekanBakh-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'YekanBakh'; src: url('/font/yekanbakh/YekanBakh-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'YekanBakh'; src: url('/font/yekanbakh/YekanBakh-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }

/* ===== GLOBAL RULES ===== */
* { font-family: 'YekanBakh', sans-serif; direction: rtl; box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { background: #f7f9fc; color: #1e293b; line-height: 1.8; overflow-x: hidden; }

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #1e3a5f;
  --primary-light: #2a5298;
  --secondary: #d97706;
  --secondary-light: #f59e0b;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #1e293b;
  --text-light: #475569;
  --muted: #94a3b8;
  --border: #e2e8f0;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.25s ease;
  --max-width: 1200px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.35; color: var(--text); }
h1 { font-size: 2.4rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.8rem; margin-bottom: 1.0rem; position: relative; }
h2::after { content: ''; display: block; width: 60px; height: 4px; background: linear-gradient(90deg, var(--secondary), var(--accent)); border-radius: 4px; margin-top: 0.4rem; }
h2.centered::after { margin-left: auto; margin-right: auto; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
p { margin-bottom: 0.75rem; color: var(--text-light); }
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
ul, ol { padding-right: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.3rem; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { display: inline-block; }
.section-title p { max-width: 680px; margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.75rem 1.8rem; border-radius: var(--radius-xs); border: none;
  font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(30,58,95,0.25); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,95,0.30); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; box-shadow: 0 4px 12px rgba(217,119,6,0.25); }
.btn-secondary:hover { background: var(--secondary-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,119,6,0.30); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--surface-2); color: var(--primary); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ===== TOP CONTACT BAR ===== */
.topbar { background: var(--primary); color: rgba(255,255,255,0.85); font-size: 0.8rem; }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: #fff; font-weight: 700; }
.topbar a:hover { color: var(--secondary-light); }
.topbar .phone-link { direction: ltr; display: inline-block; letter-spacing: 0.5px; }
.topbar span i { color: var(--secondary-light); margin-left: 4px; }

/* ===== NAVIGATION ===== */
.navbar {
  background: var(--surface); box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  position: sticky; top: 0; z-index: 1000; padding: 0 20px;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.nav-logo span { color: var(--secondary); }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links li { margin: 0; }
.nav-links a { font-weight: 500; font-size: 0.92rem; color: var(--text); padding: 4px 0; border-bottom: 2px solid transparent; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-bottom-color: var(--secondary); }
.nav-cta { background: var(--secondary); color: #fff; padding: 8px 20px; border-radius: var(--radius-xs); font-weight: 600; font-size: 0.9rem; }
.nav-cta:hover { background: var(--secondary-light); color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 26px; height: 3px; background: var(--text); border-radius: 4px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }
@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links { position: fixed; top: 70px; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 20px; gap: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.10); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: var(--transition); z-index: 999; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 8px; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0f2a44 0%, #1e4a7a 50%, #0f2a44 100%);
  color: #fff; padding: 80px 0 70px; position: relative; overflow: hidden;
}
.hero::before { content: ''; position: absolute; top: -40%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(217,119,6,0.12), transparent 70%); border-radius: 50%; pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(14,165,233,0.10), transparent 70%); border-radius: 50%; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 2.8rem; font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 0.75rem; }
.hero h1 span { color: var(--secondary); }
.hero .subhead { font-size: 1.15rem; color: rgba(255,255,255,0.80); max-width: 650px; margin-bottom: 1.5rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 1.2rem; }
.hero-badges span { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.hero-badges span i { font-size: 1.1rem; color: var(--secondary); }

/* ===== INNER PAGE HERO (hubs / landing pages) ===== */
.page-hero { background: linear-gradient(135deg, #0f2a44 0%, #1e4a7a 100%); color: #fff; padding: 44px 0 40px; }
.page-hero h1 { color: #fff; font-size: 2rem; font-weight: 800; margin-bottom: 0.6rem; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1rem; max-width: 820px; margin: 0; }
.page-hero .hero-actions { margin: 18px 0 0; }
.page-hero .hero-badges { margin-top: 14px; }

/* ===== TRUST BANNER ===== */
.trust-banner { background: var(--surface); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; text-align: center; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trust-item .icon { font-size: 1.6rem; }
.trust-item .label { font-weight: 600; font-size: 0.85rem; color: var(--text); }
.trust-item .desc { font-size: 0.75rem; color: var(--muted); }

/* ===== CORE SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.service-card { background: var(--surface); border-radius: var(--radius-sm); padding: 24px 18px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); text-align: center; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.service-card .icon { font-size: 2rem; margin-bottom: 10px; }
.service-card h3 { font-size: 1rem; margin-bottom: 6px; }
.service-card p { font-size: 0.85rem; color: var(--muted); margin: 0; }
.service-card .tag { display: inline-block; background: var(--surface-2); color: var(--primary); font-size: 0.7rem; padding: 2px 10px; border-radius: 20px; margin-top: 8px; font-weight: 500; }
a.service-card { display: block; color: inherit; }
a.service-card:hover h3 { color: var(--primary-light); }
a.service-card .more { display: inline-block; margin-top: 10px; font-size: 0.78rem; font-weight: 700; color: var(--secondary); }

/* ===== DIAGNOSTIC WIDGET ===== */
.diagnostic-widget { background: var(--surface-2); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); max-width: 700px; margin: 0 auto; }
.diagnostic-widget h3 { text-align: center; margin-bottom: 16px; font-size: 1.2rem; }
.diagnostic-step { display: none; }
.diagnostic-step.active { display: block; }
.diagnostic-step p { font-weight: 500; margin-bottom: 10px; }
.symptom-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.symptom-options button { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xs); padding: 10px 12px; cursor: pointer; transition: var(--transition); font-size: 0.85rem; font-weight: 500; text-align: right; }
.symptom-options button:hover { border-color: var(--accent); background: #eef6ff; }
.diagnostic-result { background: var(--surface); border-radius: var(--radius-xs); padding: 16px; margin-top: 14px; border-right: 4px solid var(--accent); }
.diagnostic-result h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--primary); }
.diagnostic-result p { font-size: 0.85rem; color: var(--text-light); margin: 0 0 6px; }
.diagnostic-result a { font-size: 0.85rem; font-weight: 700; }
.diagnostic-reset { margin-top: 12px; text-align: center; }
.diagnostic-reset button { background: none; border: none; color: var(--muted); font-size: 0.8rem; cursor: pointer; text-decoration: underline; }

/* ===== BRAND SECTION ===== */
.brand-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; justify-content: center; }
.brand-tab { padding: 8px 18px; border-radius: 30px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-weight: 500; font-size: 0.85rem; transition: var(--transition); }
.brand-tab:hover { border-color: var(--accent); background: #eef6ff; }
.brand-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.brand-panel { display: none; }
.brand-panel.active { display: block; }
.brand-card { background: var(--surface); border-radius: var(--radius-sm); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 14px; }
.brand-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.brand-card .sub { color: var(--muted); font-size: 0.85rem; margin-bottom: 10px; display: block; }
.brand-card p { font-size: 0.9rem; }
.brand-card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* ===== SECONDARY BRANDS GRID ===== */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.brand-grid-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xs); padding: 16px 10px; text-align: center; transition: var(--transition); display: block; color: inherit; }
.brand-grid-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.brand-grid-item .brand-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.brand-grid-item .brand-desc { font-size: 0.7rem; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* ===== PROCESS ===== */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; counter-reset: step; }
.process-step { background: var(--surface); border-radius: var(--radius-sm); padding: 24px 16px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); position: relative; }
.process-step::before { counter-increment: step; content: counter(step); position: absolute; top: -12px; right: -12px; width: 32px; height: 32px; background: var(--secondary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.process-step .icon { font-size: 1.8rem; margin-bottom: 8px; }
.process-step h3 { font-size: 0.95rem; margin-bottom: 4px; }
.process-step p { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* ===== FAQ ACCORDION ===== */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xs); margin-bottom: 10px; overflow: hidden; }
.faq-question { padding: 16px 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); font-size: 0.95rem; }
.faq-question:hover { background: var(--surface-2); }
.faq-question .arrow { transition: var(--transition); font-size: 1.2rem; }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 420px; padding: 0 20px 16px; }
.faq-answer p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* ===== PRICE TABLE ===== */
.price-card { background: var(--surface); border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center; }
.price-card h3 { font-size: 1rem; margin-bottom: 4px; }
.price-card .price-range { font-size: 1.2rem; font-weight: 800; color: var(--secondary); }
.price-card .note { font-size: 0.75rem; color: var(--muted); }

/* ===== LOCAL COVERAGE ===== */
.cover-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cover-list span { background: var(--surface); padding: 10px 16px; border-radius: var(--radius-xs); border: 1px solid var(--border); font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }
.cover-list span::before { content: '✓'; color: var(--success); font-weight: 700; }

/* ===== FOOTER ===== */
.mega-footer { background: #0f1a2e; color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.mega-footer .container { max-width: 1250px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; border-bottom: 2px solid var(--secondary); padding-bottom: 6px; display: inline-block; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul a { color: rgba(255,255,255,0.65); font-size: 0.82rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--secondary); padding-right: 4px; }
.footer-col p { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-col .contact-line { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--secondary); }
.footer-phone { color: var(--secondary-light); font-weight: 800; direction: ltr; display: inline-block; }
.footer-links-inline { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== STICKY MOBILE CTA ===== */
.sticky-mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); padding: 12px 16px; box-shadow: 0 -6px 24px rgba(0,0,0,0.10); z-index: 999; gap: 10px; border-top: 1px solid var(--border); }
.sticky-mobile-cta .btn { flex: 1; font-size: 0.9rem; }
@media (max-width: 640px) {
  .sticky-mobile-cta { display: flex; }
  body { padding-bottom: 70px; }
}

/* ===== TOAST ===== */
.toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); padding: 14px 28px; border-radius: var(--radius-xs); color: #fff; font-weight: 600; z-index: 9999; opacity: 0; transition: opacity 0.4s ease; font-size: 0.9rem; max-width: 90%; text-align: center; pointer-events: none; }
.toast.show { opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.50); z-index: 5000; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal-content { background: var(--surface); border-radius: var(--radius); max-width: 500px; width: 100%; padding: 30px; position: relative; box-shadow: var(--shadow-lg); max-height: 80vh; overflow-y: auto; }
.modal-close { position: absolute; top: 12px; left: 16px; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--muted); transition: var(--transition); }
.modal-close:hover { color: var(--error); }
.modal-content h3 { margin-bottom: 6px; }
.modal-content p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
.modal-content form { display: flex; flex-direction: column; gap: 12px; }
.modal-content form input, .modal-content form select, .modal-content form textarea { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-xs); font-size: 0.9rem; transition: var(--transition); }
.modal-content form input:focus, .modal-content form select:focus, .modal-content form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,233,0.15); }
.modal-content form textarea { resize: vertical; min-height: 80px; }

/* ===== CALL FLOATING BUTTON ===== */
.call-float {
  position: fixed; bottom: 30px; left: 20px; z-index: 9999;
  display: flex; align-items: center; gap: 8px;
  background: var(--secondary); color: #fff;
  padding: 12px 20px; border-radius: 40px;
  box-shadow: 0 6px 24px rgba(217,119,6,0.35);
  transition: var(--transition); text-decoration: none;
  white-space: nowrap; font-weight: 700; font-size: 0.95rem;
  border: none; cursor: pointer; animation: pulse-float 2s infinite;
}
.call-float:hover { background: var(--secondary-light); transform: scale(1.06); box-shadow: 0 8px 32px rgba(217,119,6,0.45); color: #fff; }
.call-float i { font-size: 1.2rem; }
.call-float .number { direction: ltr; display: inline-block; }
@keyframes pulse-float {
  0% { box-shadow: 0 0 0 0 rgba(217,119,6,0.6); }
  70% { box-shadow: 0 0 0 14px rgba(217,119,6,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,119,6,0); }
}
@media (max-width: 640px) {
  .call-float { bottom: 80px; left: 10px; padding: 10px 16px; font-size: 0.85rem; }
  .call-float i { font-size: 1rem; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 1.9rem; }
  .hero .subhead { font-size: 0.95rem; }
  .page-hero h1 { font-size: 1.5rem; }
  .section { padding: 40px 0; }
  .symptom-options { grid-template-columns: 1fr; }
  .brand-tabs { gap: 4px; }
  .brand-tab { font-size: 0.75rem; padding: 6px 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .diagnostic-widget { padding: 20px 16px; }
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero .subhead { font-size: 0.85rem; }
  .hero-actions { flex-direction: column; }
  .btn-lg { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.gap-2 { gap: 0.5rem; }
.flex-wrap { display: flex; flex-wrap: wrap; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== USED / SECOND-HAND SECTION ===== */
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .checklist-grid { grid-template-columns: 1fr; } }
.checklist-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; padding: 8px 12px; background: var(--surface); border-radius: var(--radius-xs); border: 1px solid var(--border); }
.checklist-item .check { color: var(--success); font-weight: 700; flex-shrink: 0; }

/* ===== INTERACTIVE BADGE / WIDGET PLACEHOLDER ===== */
.widget-placeholder { background: linear-gradient(135deg, #eef2ff, #f0f9ff); border: 2px dashed var(--accent); border-radius: var(--radius); padding: 30px 20px; text-align: center; }
.widget-placeholder .icon { font-size: 2.4rem; margin-bottom: 8px; }
.widget-placeholder h4 { font-size: 1rem; margin-bottom: 4px; }
.widget-placeholder p { font-size: 0.85rem; color: var(--muted); max-width: 400px; margin: 0 auto; }

/* ===== SCROLL ANIMATION ===== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== BREADCRUMB ===== */
.breadcrumb { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-bottom: 10px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li::after { content: '‹'; margin-right: 6px; opacity: 0.5; }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--secondary-light); }

/* ===== ARTICLE LAYOUT (content + sidebar TOC) ===== */
.layout { display: grid; grid-template-columns: 1fr 280px; gap: 34px; align-items: start; }
.toc { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow); }
.toc h2 { font-size: 1rem; margin-bottom: 10px; }
.toc h2::after { width: 40px; height: 3px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc ul li { margin-bottom: 8px; font-size: 0.85rem; }
.toc ul a { color: var(--text-light); }
.toc ul a:hover { color: var(--secondary); }
.prose { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 28px; box-shadow: var(--shadow); }
.prose h2 { margin-top: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.2rem; }
.prose ul li, .prose ol li { font-size: 0.92rem; color: var(--text-light); }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.85rem; }
.prose table th, .prose table td { border: 1px solid var(--border); padding: 10px 12px; text-align: right; }
.prose table th { background: var(--surface-2); font-weight: 700; color: var(--primary); }
.prose table tr:nth-child(even) td { background: #fbfcfe; }

/* ===== HUB PAGES (clusters) ===== */
.cluster { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 26px; box-shadow: var(--shadow); margin-bottom: 26px; }
.cluster > h2 { font-size: 1.4rem; margin-bottom: 6px; }
.cluster-intro { font-size: 0.92rem; color: var(--text-light); margin-bottom: 16px; }
.cluster-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cluster-item { display: block; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-xs); padding: 16px 18px; transition: var(--transition); color: inherit; }
.cluster-item:hover { border-color: var(--accent); background: #eef6ff; transform: translateY(-3px); }
.cluster-item h3 { font-size: 0.98rem; margin-bottom: 6px; color: var(--primary); }
.cluster-item:hover h3 { color: var(--primary-light); }
.cluster-item p { font-size: 0.8rem; color: var(--muted); margin: 0; }
.cluster-item .arrow-link { display: inline-block; margin-top: 8px; font-size: 0.75rem; font-weight: 700; color: var(--secondary); }

/* ===== HUB CARDS / CHIPS ===== */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.hub-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px; box-shadow: var(--shadow); }
.hub-card .icon { font-size: 2rem; margin-bottom: 8px; }
.hub-card h2 { font-size: 1.2rem; margin-bottom: 8px; }
.hub-card h2::after { width: 40px; height: 3px; }
.hub-card p { font-size: 0.88rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.chips span, .chips a { background: var(--surface-2); border: 1px solid var(--border); border-radius: 30px; padding: 6px 14px; font-size: 0.78rem; color: var(--text-light); }
.chips a:hover { border-color: var(--accent); color: var(--primary); }

/* ===== CTA BAND ===== */
.cta-band { background: linear-gradient(135deg, var(--primary) 0%, #24507f 100%); color: #fff; border-radius: var(--radius); padding: 34px 28px; text-align: center; margin: 30px 0; }
.cta-band h2 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.cta-band h2::after { margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 0.95rem; max-width: 620px; margin: 0 auto 16px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }
.cta-phone { display: inline-block; direction: ltr; font-weight: 900; font-size: 1.35rem; color: #fff; background: rgba(255,255,255,0.10); border: 1px dashed rgba(255,255,255,0.45); border-radius: var(--radius-xs); padding: 8px 20px; margin: 6px 0 14px; }
.cta-phone:hover { color: var(--secondary-light); }

/* ===== NOTICE / INFO BOX ===== */
.notice { border-right: 4px solid var(--accent); background: #eef6ff; border-radius: var(--radius-xs); padding: 14px 18px; font-size: 0.88rem; color: var(--text-light); margin: 16px 0; }
.notice strong { color: var(--primary); }
.notice.warn { border-right-color: var(--secondary); background: #fff8ec; }

/* ===== RELATED LINKS ===== */
.related { margin: 34px 0 0; }
.related h2 { font-size: 1.2rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.related-grid a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xs); padding: 14px 16px; font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.related-grid a:hover { border-color: var(--accent); background: #eef6ff; }

/* ===== STATS STRIP ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.stat-item .num { font-size: 1.5rem; font-weight: 900; color: var(--secondary); display: block; }
.stat-item .lbl { font-size: 0.82rem; color: var(--text-light); }

/* ===== BRAND HUB ITEM ===== */
.brand-hub-item { display: flex; flex-direction: column; }
.brand-hub-item .meta { font-size: 0.75rem; color: var(--muted); margin-top: 6px; }
