/* =========================================================
   DigiWin (دیجی‌وین) — Main Stylesheet
   ========================================================= */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root{
  --color-primary: #FFB000;
  --color-primary-2: #ffcb52;
  --color-accent: #FF4D6D;
  --bg: #0A0A14;
  --bg-soft: #101020;
  --bg-card: #14141f;
  --bg-card-2: #181826;
  --text: #FFFDF7;
  --text-dim: #b9b8c6;
  --text-dimmer: #7d7c8c;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255,176,0,0.15) 0%, rgba(255,77,109,0.15) 100%);
  --gradient-text: linear-gradient(90deg, var(--color-primary), var(--color-accent));

  --shadow-sm: 0 4px 14px rgba(0,0,0,0.25);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 40px rgba(255,176,0,0.25);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --font: 'Vazirmatn', Tahoma, sans-serif;
  --container: 1240px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: var(--font); cursor:pointer; }
input, textarea, select{ font-family: var(--font); }
h1,h2,h3,h4,p{ margin:0; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
section{ position: relative; padding: 110px 0; }

/* ---------- Background decor ---------- */
.bg-blob{
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  z-index: 0;
  pointer-events: none;
}
.bg-blob.b1{ width: 500px; height: 500px; background: var(--color-primary); top: -150px; right: -150px; }
.bg-blob.b2{ width: 460px; height: 460px; background: var(--color-accent); bottom: 10%; left: -180px; }
.bg-blob.b3{ width: 380px; height: 380px; background: #7a4dff; top: 45%; right: 30%; opacity: .18; }
.noise-overlay{
  position: fixed; inset:0; z-index: 1; pointer-events:none; opacity:.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Section heading helpers ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 13px; font-weight:600; letter-spacing:.3px;
  color: var(--color-primary);
  background: rgba(255,176,0,0.1);
  border: 1px solid rgba(255,176,0,0.3);
  padding: 6px 16px; border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head.center{ margin-inline: auto; text-align:center; }
.section-title{
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; line-height:1.3; margin-bottom: 14px;
}
.section-title .grad{
  background: var(--gradient-text);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.section-desc{ color: var(--text-dim); font-size: 16px; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-outline, .btn-ghost{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  /* padding: 15px 30px; border-radius: var(--radius-full); */
  padding: 10px 30px; border-radius: var(--radius-full);
  font-weight:700; font-size:15px; border:none; transition: all .3s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--gradient-primary); color:#140a00;
  box-shadow: 0 8px 24px rgba(255,77,109,0.28);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255,77,109,0.4); }
.btn-outline{
  background: transparent; color: var(--text); border: 1.5px solid var(--border-strong);
}
.btn-outline:hover{ border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-3px); }
.btn-ghost{ background: rgba(255,255,255,0.06); color: var(--text); }
.btn-ghost:hover{ background: rgba(255,255,255,0.12); }
.btn-block{ width:100%; }
.btn-lg{ padding: 18px 38px; font-size:16px; }

/* ================= HEADER ================= */
#site-header{
  position: fixed; top:0; left:0; right:0; z-index: 999;
  padding: 20px 0; transition: all .35s ease;
}
#site-header.scrolled{
  padding: 12px 0; background: rgba(10,10,20,0.85);
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
}
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.logo{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:21px; }
.logo-mark{
  width:40px; height:40px; border-radius: 12px;
  background: var(--gradient-primary); display:flex; align-items:center; justify-content:center;
  font-size:18px; color:#140a00; font-weight:900;
}
.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links a{
  padding: 10px 16px; border-radius: var(--radius-full); font-size:15px; font-weight:600;
  color: var(--text-dim); transition: all .25s ease;
}
.nav-links a:hover, .nav-links a.active{ color: var(--text); background: rgba(255,255,255,0.07); }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:44px; height:44px; border-radius: 12px; background: rgba(255,255,255,0.07);
  border:1px solid var(--border); z-index: 1001;
}
.nav-toggle span{ width:20px; height:2px; background: var(--text); margin:0 auto; border-radius:2px; transition:.3s; }
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.nav-overlay{
  position: fixed; inset:0; background: rgba(0,0,0,0.6); backdrop-filter: blur(3px);
  z-index: 998; opacity:0; visibility:hidden; transition: opacity .3s ease;
}
.nav-overlay.show{ opacity:1; visibility:visible; }

/* ================= HERO ================= */
#hero{ padding-top: 190px; padding-bottom: 100px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items:center; }
.hero-title{
  font-size: clamp(34px, 5.2vw, 58px); font-weight:800; line-height:1.25; margin-bottom:22px;
}
.hero-title .grad{
  background: var(--gradient-text); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-desc{ font-size:18px; color: var(--text-dim); max-width: 520px; margin-bottom: 34px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom: 50px; }
.hero-stats{ display:flex; gap: 36px; flex-wrap:wrap; }
.hero-stat {text-align: center;}
.hero-stat b{ display:block; font-size: 30px; font-weight:800; color: var(--color-primary); }
.hero-stat span{ font-size:13px; color: var(--text-dimmer); }

.hero-visual{ position: relative; height: 480px; }
.hero-art-main{
  position:absolute; inset: 20px; border-radius: var(--radius-lg);
  background: var(--gradient-soft); border: 1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.hero-art-main i{ font-size: 130px; color: var(--color-primary); opacity: .5; }
.float-card{
  position:absolute; background: rgba(20,20,32,0.85); backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: 16px 18px; box-shadow: var(--shadow-md); display:flex; align-items:center; gap:12px;
  animation: floaty 5s ease-in-out infinite;
}
.float-card i{ font-size:20px; }
.float-card strong{ font-size: 14px; display:block; }
.float-card span{ font-size:12px; color: var(--text-dimmer); }
.fc1{ top: 0; right: -10px; animation-delay: 0s; }
.fc2{ bottom: 20px; left: -20px; animation-delay: 1.2s; }
.fc3{ top: 48%; right: 60%; animation-delay: 2.4s; }
@keyframes floaty{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-16px); } }
@keyframes float{ 0%,100%{ transform: translateY(0) rotate(0); } 50%{ transform: translateY(-10px) rotate(2deg); } }

/* ================= MARQUEE / CLIENT LOGOS ================= */
#clients{ padding: 60px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.clients-label{ text-align:center; color: var(--text-dimmer); font-size:14px; margin-bottom: 34px; }
.marquee{ overflow:hidden; position:relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track{ display:flex; gap: 60px; width: max-content; animation: scrollLeft 26s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state: paused; }
.marquee-track .logo-item{ display:flex; align-items:center; gap:10px; font-size: 20px; font-weight:700; color: var(--text-dimmer); opacity:.7; white-space:nowrap; }
.marquee-track .logo-item i{ font-size: 26px; }
@keyframes scrollLeft{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ================= SERVICES BENTO ================= */
.bento-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-card{
  background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; grid-column: span 2; transition: all .35s ease; position:relative; overflow:hidden;
}
.service-card::before{
  content:''; position:absolute; inset:0; background: var(--gradient-soft); opacity:0; transition:.35s ease;
}
.service-card:hover{ transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.service-card:hover::before{ opacity:1; }
.service-card.big{ grid-column: span 2; grid-row: span 2; padding: 38px; }
.service-icon{
  width:56px; height:56px; border-radius: 16px; background: var(--gradient-primary);
  display:flex; align-items:center; justify-content:center; font-size:24px; color:#140a00; margin-bottom:20px;
  position: relative; z-index: 1;
}
.service-card h3{ font-size:19px; font-weight:800; margin-bottom:10px; position:relative; z-index:1; }
.service-card p{ color: var(--text-dim); font-size: 14.5px; position:relative; z-index:1; }
.service-tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; position:relative; z-index:1; }
.service-tags span{ font-size:12px; background: rgba(255,255,255,0.06); border:1px solid var(--border); padding:5px 12px; border-radius: var(--radius-full); color: var(--text-dim); }

/* ================= PROCESS ================= */
.process-grid{ display:grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-step{ position:relative; padding: 30px 22px; background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-md); text-align:center; }
.process-step .step-num{
  width:44px; height:44px; margin: 0 auto 18px; border-radius:50%;
  background: var(--gradient-soft); border:1.5px solid var(--color-primary);
  display:flex; align-items:center; justify-content:center; font-weight:800; color: var(--color-primary);
}
.process-step h4{ font-size:16px; margin-bottom:8px; font-weight:700; }
.process-step p{ font-size:13.5px; color: var(--text-dim); }

/* ================= PORTFOLIO ================= */
.portfolio-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card{
  border-radius: var(--radius-lg); overflow:hidden; background: var(--bg-card);
  border: 1px solid var(--border); transition: all .35s ease;
}
.portfolio-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-md); }
.portfolio-thumb{ height: 210px; display:flex; align-items:center; justify-content:center; font-size:60px; color: rgba(255,255,255,0.85); position:relative; }
.portfolio-thumb i{ z-index:1; }
.portfolio-body{ padding: 24px; }
.portfolio-body span.tag{ font-size:12px; color: var(--color-primary); font-weight:700; }
.portfolio-body h3{ margin: 10px 0 8px; font-size: 18px; font-weight:800; }
.portfolio-body p{ font-size:13.5px; color: var(--text-dim); }
.portfolio-btn {
  margin: 3rem 0 -6rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ================= WHY US ================= */
.why-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card{ padding: 28px; border-radius: var(--radius-md); background: var(--bg-card); border:1px solid var(--border); }
.why-card i{ font-size: 26px; color: var(--color-accent); margin-bottom:16px; display:block; }
.why-card h3{ font-size:17px; margin-bottom:8px; font-weight:700; }
.why-card p{ color: var(--text-dim); font-size:14px; }

/* ================= TESTIMONIALS ================= */
.testi-wrap{ max-width: 780px; margin: 0 auto; position:relative; }
.testi-slides{ overflow:hidden; border-radius: var(--radius-lg); }
.testi-track{ display:flex; transition: transform .5s ease; }
.testi-slide{ min-width:100%; padding: 44px; background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-lg); text-align:center; }
.testi-slide i.quote-icon{ font-size:28px; color: var(--color-primary); opacity:.6; margin-bottom: 18px; }
.testi-text{ font-size: 18px; line-height:1.9; margin-bottom: 26px; color: var(--text); }
.testi-person{ display:flex; align-items:center; justify-content:center; gap:14px; }
.testi-person img{ width:52px; height:52px; border-radius:50%; border:2px solid var(--color-primary); }
.testi-person strong{ display:block; font-size:15px; }
.testi-person span{ font-size:13px; color: var(--text-dimmer); }
.testi-stars{ color: var(--color-primary); font-size:13px; margin-top:6px; }
.testi-controls{ display:flex; align-items:center; justify-content:center; gap:20px; margin-top: 26px; }
.testi-arrow{
  width:44px; height:44px; border-radius:50%; background: var(--bg-card); border:1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center; color: var(--text); transition:.25s;
}
.testi-arrow:hover{ background: var(--gradient-primary); color:#140a00; }
.testi-dots{ display:flex; gap:8px; }
.testi-dots span{ width:9px; height:9px; border-radius:50%; background: var(--border-strong); cursor:pointer; transition:.25s; }
.testi-dots span.active{ background: var(--color-primary); width:22px; border-radius:5px; }

/* ================= FAQ ================= */
.faq-list{ max-width: 780px; margin: 0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{ background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-md); overflow:hidden; }
.faq-question{ display:flex; align-items:center; justify-content:space-between; padding: 22px 26px; cursor:pointer; font-weight:700; font-size:15.5px; gap: 16px; }
.faq-question i{ transition: transform .3s ease; color: var(--color-primary); flex-shrink:0; }
.faq-item.open .faq-question i{ transform: rotate(180deg); }
.faq-answer{ max-height:0; overflow:hidden; transition: max-height .35s ease; }
.faq-answer p{ padding: 0 26px 22px; color: var(--text-dim); font-size:14.5px; line-height:1.85; }

/* ================= CTA BANNER ================= */
.cta-banner{
  border-radius: var(--radius-lg); background: var(--gradient-primary); padding: 60px 50px;
  display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap; color:#140a00;
  position:relative; overflow:hidden;
}
.cta-banner h2{ font-size: clamp(24px,3vw,34px); font-weight:800; margin-bottom:10px; }
.cta-banner p{ color:#3a2400; font-size:15px; }
.cta-banner .btn-primary{ background:#140a00; color: var(--color-primary); box-shadow:none; }
.cta-banner .btn-primary:hover{ background:#000; }

/* ================= FOOTER ================= */
footer{ padding: 80px 0 30px; border-top:1px solid var(--border); }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-about p{ color: var(--text-dim); font-size:14px; margin: 16px 0 20px; max-width:280px; }
.footer-socials{ display:flex; gap:10px; }
.footer-socials a{ width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; transition:.25s; }
.footer-socials a:hover{ background: var(--gradient-primary); color:#140a00; }
.footer-col h4{ font-size:15px; margin-bottom: 18px; font-weight:700; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ color: var(--text-dim); font-size:14px; transition:.2s; }
.footer-col a:hover{ color: var(--color-primary); }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding-top: 28px; border-top:1px solid var(--border); color: var(--text-dimmer); font-size:13px; }

/* ================= BACK TO TOP ================= */
#back-to-top{
  position: fixed; bottom: 28px; left: 28px; width:48px; height:48px; border-radius:50%;
  background: var(--gradient-primary); color:#140a00; display:flex; align-items:center; justify-content:center;
  font-size:18px; box-shadow: var(--shadow-md); border:none; z-index: 500; opacity:0; visibility:hidden;
  transform: translateY(10px); transition: all .3s ease;
}
#back-to-top.show{ opacity:1; visibility:visible; transform: translateY(0); }

/* ================= PAGE HEADER (inner pages) ================= */
.page-header{ padding: 180px 0 80px; text-align:center; }
.breadcrumb{ display:flex; align-items:center; justify-content:center; gap:8px; font-size:13.5px; color: var(--text-dimmer); margin-top:18px; }
.breadcrumb a{ color: var(--text-dim); }
.breadcrumb i{ font-size:10px; }

/* ================= REVEAL ANIMATION ================= */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }
.reveal.d1{ transition-delay:.08s; } .reveal.d2{ transition-delay:.16s; } .reveal.d3{ transition-delay:.24s; }
.reveal.d4{ transition-delay:.32s; } .reveal.d5{ transition-delay:.4s; }

/* ================= SHARED FORM STYLES ================= */
.form-card{
  background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 42px; box-shadow: var(--shadow-sm);
}
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group{ margin-bottom: 22px; }
.form-group.full{ grid-column: 1/-1; }
.form-group label{ display:block; font-size:14px; font-weight:700; margin-bottom:10px; }
.form-group label .opt{ color: var(--text-dimmer); font-weight:400; }
.form-group input, .form-group textarea, .form-group select{
  width:100%; padding: 14px 18px; background: rgba(255,255,255,0.04); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-size:14.5px; transition: all .25s ease; outline:none;
}
.form-group select{ appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23FFB000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus{
  border-color: var(--color-primary); background: rgba(255,176,0,0.05);
}
.form-group textarea{ resize: vertical; min-height: 130px; }
.chip-group{ display:flex; flex-wrap:wrap; gap:10px; }
.chip-group input{ display:none; }
.chip-group label{
  padding: 11px 20px; border-radius: var(--radius-full); background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border); font-size:13.5px; font-weight:600; cursor:pointer; transition: all .25s ease; margin:0;
}
.chip-group input:checked + label{ background: var(--gradient-primary); color:#140a00; border-color: transparent; }
.radio-cards{ display:grid; grid-template-columns: repeat(3,1fr); gap:12px; }
.radio-cards input{ display:none; }
.radio-cards label{
  display:block; padding: 16px 14px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border); font-size:13.5px; font-weight:600; text-align:center; cursor:pointer; transition:.25s; margin:0;
}
.radio-cards input:checked + label{ border-color: var(--color-primary); background: rgba(255,176,0,0.1); color: var(--color-primary); }
.form-note{ display:flex; align-items:center; gap:10px; font-size:13px; color: var(--text-dimmer); margin-top: 4px; }
.form-note i{ color: var(--color-primary); }
.form-status{ margin-top:18px; padding: 14px 18px; border-radius: var(--radius-sm); font-size:14px; display:none; }
.form-status.success{ display:block; background: rgba(60,200,120,0.12); border:1px solid rgba(60,200,120,0.35); color:#7de3a0; }
.form-status.error{ display:block; background: rgba(255,77,109,0.12); border:1px solid rgba(255,77,109,0.35); color:#ff9cae; }
.value-mini-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; margin-top: 40px; }
.value-mini{ text-align:center; padding: 26px 18px; background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-md); }
.value-mini i{ font-size:24px; color: var(--color-primary); margin-bottom:12px; display:block; }
.value-mini h4{ font-size:14.5px; margin-bottom:6px; }
.value-mini p{ font-size:12.5px; color: var(--text-dimmer); }

/* ================= ABOUT PAGE ================= */
.story-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items:center; }
.story-visual{
  height: 380px; border-radius: var(--radius-lg); background: var(--gradient-soft);
  border:1px solid var(--border-strong); display:flex; align-items:center; justify-content:center;
}
.story-visual i{ font-size: 110px; color: var(--color-primary); opacity:.55; }
.story-text p{ color: var(--text-dim); margin-bottom: 16px; font-size:15.5px; }
.story-text p strong{ color: var(--text); }

.accept-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.accept-card{ padding: 28px; background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-md); display:flex; gap:18px; }
.accept-card i{ font-size:22px; color: var(--color-accent); flex-shrink:0; margin-top:4px; }
.accept-card h3{ font-size:16px; margin-bottom:8px; }
.accept-card p{ font-size:14px; color: var(--text-dim); }

.value-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.value-card{ padding:30px; text-align:center; background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-md); transition:.3s; }
.value-card:hover{ transform: translateY(-6px); border-color: var(--color-primary); }
.value-card i{ font-size: 30px; color: var(--color-primary); margin-bottom:16px; display:block; }
.value-card h3{ font-size:16px; margin-bottom:8px; }
.value-card p{ font-size:13.5px; color: var(--text-dim); }

.compare-table{ width:100%; border-collapse: collapse; overflow:hidden; border-radius: var(--radius-md); }
.compare-table th, .compare-table td{ padding: 18px 20px; text-align:center; border: 1px solid var(--border); font-size:14px; }
.compare-table th{ background: var(--bg-card-2); font-size:14.5px; }
.compare-table td:first-child, .compare-table th:first-child{ text-align:right; font-weight:700; }
.compare-table tr td:nth-child(2){ color: var(--color-primary); font-weight:800; }
.compare-table .yes{ color:#7de3a0; }
.compare-table .no{ color:#ff9cae; }
.table-scroll{ overflow-x:auto; }

/* ================= TEAM PAGE ================= */
.team-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card{ background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 22px; text-align:center; transition:.3s; }
.team-card:hover{ transform: translateY(-8px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.team-avatar{ width:100px; height:100px; border-radius:50%; margin: 0 auto 18px; border: 3px solid var(--color-primary); overflow:hidden; }
.team-avatar img{ width:100%; height:100%; object-fit:cover; }
.team-card h3{ font-size:16.5px; font-weight:800; margin-bottom:4px; }
.team-card .role{ display:block; font-size:12.5px; color: var(--color-primary); font-weight:700; margin-bottom:14px; }
.team-card p{ font-size:13px; color: var(--text-dim); margin-bottom:18px; min-height: 66px; }
.team-socials{ display:flex; justify-content:center; gap:8px; }
.team-socials a{ width:34px; height:34px; border-radius:50%; background: rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; font-size:13px; transition:.25s; }
.team-socials a:hover{ background: var(--gradient-primary); color:#140a00; }

/* ================= BLOG ================= */
.blog-filters{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-bottom: 46px; }
.blog-filters button{
  padding: 10px 22px; border-radius: var(--radius-full); background: var(--bg-card); border:1.5px solid var(--border);
  color: var(--text-dim); font-weight:600; font-size:13.5px; transition:.25s;
}
.blog-filters button.active, .blog-filters button:hover{ background: var(--gradient-primary); color:#140a00; border-color:transparent; }
.blog-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.blog-card{ background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-lg); overflow:hidden; transition:.3s; display:flex; flex-direction:column; }
.blog-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-thumb{ height:180px; display:flex; align-items:center; justify-content:center; font-size:48px; color: rgba(255,255,255,0.9); }
.blog-body{ padding: 24px; display:flex; flex-direction:column; flex:1; }
.blog-cat{ font-size:12px; font-weight:700; color: var(--color-primary); margin-bottom:10px; }
.blog-body h3{ font-size:17px; font-weight:800; margin-bottom:10px; line-height:1.5; }
.blog-body p{ font-size:13.5px; color: var(--text-dim); flex:1; margin-bottom:16px; }
.blog-meta{ display:flex; align-items:center; justify-content:space-between; font-size:12px; color: var(--text-dimmer); border-top:1px solid var(--border); padding-top:14px; }
.blog-pagination{ display:flex; justify-content:center; gap:8px; margin-top: 46px; }
.blog-pagination button{
  width:40px; height:40px; border-radius:50%; background: var(--bg-card); border:1.5px solid var(--border); color: var(--text-dim); font-weight:700;
}
.blog-pagination button.active{ background: var(--gradient-primary); color:#140a00; border-color: transparent; }
.blog-empty{ text-align:center; padding: 60px 0; color: var(--text-dimmer); }

/* ---- blog post detail ---- */
.post-hero{ padding: 170px 0 40px; }
.post-meta-row{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; font-size:13px; color: var(--text-dimmer); margin: 18px 0 26px; }
.post-meta-row span{ display:flex; align-items:center; gap:6px; }
.post-title{ font-size: clamp(26px,4vw,42px); font-weight:800; line-height:1.35; max-width: 820px; }
.post-cover{ height: 340px; border-radius: var(--radius-lg); display:flex; align-items:center; justify-content:center; font-size:90px; color: rgba(255,255,255,0.85); margin-bottom: 50px; }
.post-content{ max-width: 760px; margin: 0 auto; }
.post-content h2{ font-size: 24px; font-weight:800; margin: 40px 0 16px; }
.post-content h3{ font-size: 19px; font-weight:700; margin: 30px 0 14px; }
.post-content p{ color: var(--text-dim); font-size:16px; margin-bottom: 18px; }
.post-content ul{ margin-bottom: 20px; padding-right: 22px; }
.post-content ul li{ color: var(--text-dim); font-size:16px; margin-bottom:10px; list-style: disc; }
.post-content blockquote{
  border-right: 4px solid var(--color-primary); padding: 18px 24px; margin: 26px 0;
  background: rgba(255,176,0,0.06); border-radius: var(--radius-sm); font-size:16.5px; color: var(--text);
}
.post-tags{ display:flex; gap:10px; flex-wrap:wrap; margin: 34px 0; }
.post-tags span{ font-size:12.5px; background: rgba(255,255,255,0.06); border:1px solid var(--border); padding:6px 16px; border-radius: var(--radius-full); color: var(--text-dim); }
.post-share{ display:flex; align-items:center; gap:12px; margin: 30px 0; }
.post-share a{ width:38px; height:38px; border-radius:50%; background: var(--bg-card); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; transition:.25s; }
.post-share a:hover{ background: var(--gradient-primary); color:#140a00; }
.post-author-box{ display:flex; align-items:center; gap:18px; padding: 26px; background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-md); margin: 40px 0; }
.post-author-box img{ width:64px; height:64px; border-radius:50%; border:2px solid var(--color-primary); }
.post-author-box strong{ display:block; margin-bottom:4px; }
.post-author-box span{ font-size:13px; color: var(--text-dimmer); }
.related-title{ font-size:22px; font-weight:800; margin: 60px auto 26px; max-width: 760px; }
.related-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 900px; margin:0 auto; }
.not-found-box{ text-align:center; padding: 100px 0; }
.not-found-box i{ font-size:60px; color: var(--color-primary); margin-bottom:20px; }
.loading-spin{ text-align:center; padding: 100px 0; font-size:30px; color: var(--color-primary); }
.loading-spin i{ animation: spin 1s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }

/* ================= CONTACT PAGE ================= */
.contact-grid{ display:grid; grid-template-columns: .8fr 1.2fr; gap: 30px; margin-bottom: 50px; }
.contact-info-card{ background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; }
.contact-info-item{ display:flex; gap:16px; padding: 18px 0; border-bottom:1px solid var(--border); }
.contact-info-item:last-of-type{ border-bottom:none; }
.contact-info-item i{ width:44px; height:44px; border-radius:12px; background: var(--gradient-soft); color: var(--color-primary); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:17px; }
.contact-info-item h4{ font-size:14.5px; margin-bottom:4px; }
.contact-info-item p{ font-size:13.5px; color: var(--text-dim); }
.contact-info-card .footer-socials{ margin-top: 20px; }
.map-wrap{ border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--border); height: 380px; }
.map-wrap iframe{ width:100%; height:100%; border:0; filter: invert(92%) hue-rotate(180deg) contrast(90%); }

/* Utility */
.text-center{ text-align:center; }
.mt-40{ margin-top:40px; }

.projects-footer{
  padding: 1rem 24px 1rem 0;
  border-top: 1px solid var(--border);
}

.projects-link{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  transition: all .25s ease;
}

.projects-link i{
  font-size: 12px;
  transition: transform .25s ease;
}

.projects-link:hover{
  color: var(--color-primary);
}

.projects-link:hover i{
  transform: translateX(-5px);
}