/* ============================================
   铁旗传媒 - 官网样式表
   www.i0515.net
   深色科技风 · 铁旗红 #C7000A
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0A0E17;
  --bg-secondary: #111827;
  --bg-card: #1A1D28;
  --bg-card-hover: #222638;
  --bg-nav: rgba(10, 14, 23, 0.95);
  --red-primary: #C7000A;
  --red-hover: #E00012;
  --red-dark: #8B0006;
  --orange-accent: #FF6B35;
  --text-white: #FFFFFF;
  --text-light: #E5E7EB;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;
  --border-color: #2D3140;
  --border-light: #3D4150;
  --glow-red: rgba(199, 0, 10, 0.3);
  --glow-orange: rgba(255, 107, 53, 0.2);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-main: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Noto Sans SC', sans-serif;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 30px rgba(199,0,10,0.15);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--red-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--red-primary);
  vertical-align: middle;
  margin: 0 10px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-main);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  line-height: 1;
}

.btn-primary {
  background: var(--red-primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--red-hover);
  color: var(--text-white);
  box-shadow: 0 0 25px var(--glow-red);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.05);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 14, 23, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.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.4rem;
  font-weight: 800;
  color: var(--text-white);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--red-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-white);
}

.nav-logo span {
  color: var(--red-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-primary);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--red-primary);
  color: var(--text-white) !important;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--red-hover) !important;
  color: var(--text-white) !important;
  box-shadow: 0 0 20px var(--glow-red);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A0E17 0%, #0F1520 40%, #1A0D0E 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,0,10,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  padding-right: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(199,0,10,0.1);
  border: 1px solid rgba(199,0,10,0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--red-primary);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--red-primary);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red-primary);
  opacity: 0.3;
  border-radius: 2px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hero-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.hero-stat-card:hover {
  border-color: var(--red-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.hero-stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.hero-stat-number .counter-suffix {
  font-size: 1.8rem;
  color: var(--red-primary);
}

.hero-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.hero-stat-card.featured {
  background: linear-gradient(135deg, rgba(199,0,10,0.12), transparent);
  border-color: rgba(199,0,10,0.3);
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--red-primary);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(199,0,10,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(199,0,10,0.2);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Clients Section --- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  align-items: center;
}

.client-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
  opacity: 0.7;
}

.client-item:hover {
  opacity: 1;
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.client-item .client-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
}

.client-item .client-industry {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* --- FAQ Preview --- */
.faq-preview-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-preview-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  cursor: pointer;
}

.faq-preview-item:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.faq-preview-item .q {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.95rem;
}

.faq-preview-item .arrow {
  color: var(--red-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-cta {
  text-align: center;
  margin-top: 32px;
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0A0E17 0%, #111827 50%, #1A0D0E 100%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
}

.page-header .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.page-header .breadcrumb a {
  color: var(--text-muted);
}

.page-header .breadcrumb a:hover {
  color: var(--red-primary);
}

.page-header .breadcrumb .sep {
  color: var(--text-dim);
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

.about-info p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-meta-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.about-meta-item .label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.about-meta-item .value {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 600;
  word-break: break-all;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
}

.about-stat .number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-white);
}

.about-stat .number .suffix {
  font-size: 1.4rem;
  color: var(--red-primary);
}

.about-stat p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.timeline {
  margin-top: 60px;
}

.timeline h2 {
  font-size: 1.6rem;
  color: var(--text-white);
  margin-bottom: 30px;
}

.timeline-item {
  position: relative;
  padding-left: 30px;
  padding-bottom: 30px;
  border-left: 2px solid var(--border-color);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-primary);
}

.timeline-item .year {
  font-size: 0.85rem;
  color: var(--red-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Media Page --- */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--red-primary);
  color: var(--text-light);
}

.filter-btn.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--text-white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--red-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-light);
}

.project-card:hover::after {
  transform: scaleY(1);
}

.project-card .project-zone {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(199,0,10,0.1);
  color: var(--red-primary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.project-card h3 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 8px;
  font-weight: 700;
}

.project-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Cases Page --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-primary);
  box-shadow: var(--shadow-glow);
}

.case-card .case-body {
  padding: 28px 24px;
}

.case-card .case-brand {
  font-size: 0.75rem;
  color: var(--red-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.case-card h3 {
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 12px;
}

.case-card .case-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.case-tags {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.case-tag {
  padding: 4px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* --- FAQ Page --- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-light);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  gap: 16px;
}

.faq-question:hover {
  color: var(--text-white);
}

.faq-question .faq-q-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(199,0,10,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--red-primary);
  font-weight: 700;
}

.faq-question .faq-toggle {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--text-dim);
  transition: var(--transition);
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
  color: var(--red-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: var(--transition);
}

.contact-info-item:hover {
  border-color: var(--border-light);
}

.contact-info-item .ci-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(199,0,10,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-item .ci-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-info-item .ci-value {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
}

.contact-info-item .ci-value a {
  color: var(--text-light);
}

.contact-info-item .ci-value a:hover {
  color: var(--red-primary);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
}

.contact-form h3 {
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(199,0,10,0.1);
}

.form-control::placeholder {
  color: var(--text-dim);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.map-container {
  margin-top: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 380px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--text-white);
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--red-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--red-primary);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--red-primary);
  color: var(--text-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(199,0,10,0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--red-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(199,0,10,0.5);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Loading Skeleton --- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Toast Notification --- */
.toast {
  position: fixed;
  bottom: 80px;
  right: 30px;
  z-index: 9999;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transform: translateX(120%);
  transition: transform 0.4s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-color: #10B981;
}

.toast.error {
  border-color: var(--red-primary);
}

.toast .toast-icon {
  font-size: 1.2rem;
}

.toast.success .toast-icon {
  color: #10B981;
}

.toast.error .toast-icon {
  color: var(--red-primary);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    padding-right: 0;
    text-align: center;
  }
  .hero-desc {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero-stat-number {
    font-size: 2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-meta {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }
  .filter-btn {
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stat-number {
    font-size: 1.6rem;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
}
