:root {
  --primary: #FF6B35;
  --primary-dark: #e85a28;
  --primary-light: #FFB38A;
  --primary-soft: #FFF4EC;
  --bg: #fffdf9;
  --bg-alt: #fff;
  --text: #2d2d2d;
  --text-strong: #1a1a1a;
  --text-muted: #666;
  --text-light: #888;
  --border: #f0e6db;
  --shadow-sm: 0 2px 10px rgba(255, 107, 53, 0.06);
  --shadow-md: 0 8px 28px rgba(255, 107, 53, 0.1);
  --shadow-lg: 0 16px 48px rgba(255, 107, 53, 0.16);
  --glass-bg: rgba(255, 253, 249, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);
  --gradient-start: #FF6B35;
  --gradient-mid: #FF8C42;
  --gradient-end: #FFB347;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16130f;
    --bg-alt: #1f1b17;
    --text: #e8e2da;
    --text-strong: #faf6f1;
    --text-muted: #b8b0a6;
    --text-light: #8f877d;
    --border: #332c24;
    --primary-soft: #2a2018;
    --glass-bg: rgba(22, 19, 15, 0.78);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 107, 53, 0.06), transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(255, 179, 71, 0.05), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ========== HEADER ========== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.04);
}

.logo svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 3px 8px rgba(255, 107, 53, 0.35));
  transition: filter var(--transition);
}

.logo:hover svg {
  filter: drop-shadow(0 5px 14px rgba(255, 107, 53, 0.5));
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 22px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  transition: color var(--transition), transform var(--transition);
  position: relative;
  padding-bottom: 3px;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  border-radius: 2px;
  transition: width var(--transition);
}

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

nav a:hover::after {
  width: 100%;
}

.search-box {
  display: flex;
  align-items: center;
}

.search-box input {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 20px 0 0 20px;
  outline: none;
  font-size: 0.9rem;
  width: 160px;
  background: var(--bg-alt);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), width var(--transition);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
  width: 200px;
}

.search-box input::placeholder {
  color: var(--text-light);
}

.search-box button {
  padding: 7px 14px;
  border: 1px solid var(--primary);
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  color: #fff;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background var(--transition), box-shadow var(--transition);
}

.search-box button:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--gradient-start));
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 1.2rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.88rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
}

/* ========== HERO ========== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 50px 0 60px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.35;
  color: var(--text-strong);
  margin-bottom: 18px;
  animation: fadeInUp 0.7s ease both;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.45);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.hero-visual {
  text-align: center;
  animation: fadeInRight 0.8s ease 0.15s both;
}

.hero-visual svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(255, 107, 53, 0.15));
  transition: transform 0.5s ease;
}

.hero-visual:hover svg {
  transform: translateY(-6px) scale(1.02);
}

/* ========== STATS ========== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 10px;
  transition: transform var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

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

/* ========== SECTIONS ========== */
section {
  padding: 55px 0;
  position: relative;
}

.section-title {
  font-size: 1.7rem;
  color: var(--text-strong);
  margin-bottom: 10px;
  position: relative;
  padding-left: 16px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
  border-radius: 3px;
}

.section-sub {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 30px;
  padding-left: 16px;
}

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(255, 107, 53, 0.25);
}

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

.card h3 {
  font-size: 1.15rem;
  color: var(--text-strong);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.card:hover h3 {
  color: var(--primary);
}

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

/* ========== ARTICLES ========== */
.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.article-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
}

.article-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.25);
}

.article-item .meta {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-item .meta::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.6;
}

.article-item h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: var(--text-strong);
  line-height: 1.5;
  transition: color var(--transition);
}

.article-item:hover h3 {
  color: var(--primary);
}

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

.article-item a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 12px;
  font-weight: 600;
  align-self: flex-start;
  transition: transform var(--transition), color var(--transition);
}

.article-item a:hover {
  transform: translateX(4px);
  color: var(--primary-dark);
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 860px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.faq-item:hover {
  background: rgba(255, 107, 53, 0.02);
}

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

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

.faq-question .icon {
  color: var(--primary);
  font-size: 1.3rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-soft);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
  color: var(--text-muted);
  font-size: 0.94rem;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 18px;
  opacity: 1;
}

.faq-item.open .icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

/* ========== HOWTO ========== */
.howto-steps {
  counter-reset: step;
  max-width: 860px;
}

.howto-step {
  position: relative;
  padding-left: 60px;
  margin-bottom: 28px;
  transition: transform var(--transition);
}

.howto-step:hover {
  transform: translateX(6px);
}

.howto-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.howto-step:hover::before {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
}

.howto-step h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: var(--text-strong);
}

.howto-step p {
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.25);
}

.contact-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-card h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ========== FOOTER ========== */
footer {
  background: #1f1b17;
  color: #bbb;
  padding: 50px 0 20px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

@media (prefers-color-scheme: dark) {
  footer {
    background: #0f0d0a;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  border-radius: 2px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 8px;
}

footer a {
  color: #bbb;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

footer a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #3a332c;
  margin-top: 36px;
  padding-top: 20px;
  font-size: 0.82rem;
  color: #777;
  text-align: center;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 30px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(255, 107, 53, 0.45);
  z-index: 99;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  opacity: 0;
}

.back-to-top.show {
  display: flex;
  opacity: 1;
  animation: popIn 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.6);
}

/* ========== BRAND HISTORY ========== */
.brand-history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.brand-history p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
  border-radius: 2px;
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  margin-bottom: 22px;
  transition: transform var(--transition);
}

.timeline-item:hover {
  transform: translateX(5px);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
  transition: box-shadow var(--transition);
}

.timeline-item:hover::before {
  box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.2);
}

.timeline-item h4 {
  font-size: 1rem;
  color: var(--text-strong);
}

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

/* ========== CASE / TESTIMONIAL / NEWS ========== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
}

.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.25);
}

.case-card h3 {
  font-size: 1.05rem;
  color: var(--text-strong);
  margin-bottom: 8px;
  transition: color var(--transition);
}

.case-card:hover h3 {
  color: var(--primary);
}

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

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.testimonial {
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: 18px;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.12;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial p {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
}

.testimonial .author {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 12px;
  font-style: normal;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.news-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.news-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.25);
}

.news-item .date {
  font-size: 0.8rem;
  color: var(--text-light);
  display: inline-block;
  padding: 2px 10px;
  background: var(--primary-soft);
  border-radius: 12px;
}

.news-item h3 {
  font-size: 1rem;
  margin: 8px 0 6px;
  color: var(--text-strong);
  transition: color var(--transition);
}

.news-item:hover h3 {
  color: var(--primary);
}

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

/* ========== ANCHOR NAV ========== */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
}

.anchor-nav a {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all var(--transition);
  background: var(--bg-alt);
}

.anchor-nav a:hover {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

/* ========== SCROLL ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.card,
.article-item,
.case-card,
.news-item,
.contact-card,
.testimonial {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1), .article-item:nth-child(1), .case-card:nth-child(1),
.news-item:nth-child(1), .contact-card:nth-child(1), .testimonial:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2), .article-item:nth-child(2), .case-card:nth-child(2),
.news-item:nth-child(2), .contact-card:nth-child(2), .testimonial:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3), .article-item:nth-child(3), .case-card:nth-child(3),
.news-item:nth-child(3), .contact-card:nth-child(3), .testimonial:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4), .article-item:nth-child(4), .case-card:nth-child(4),
.news-item:nth-child(4), .contact-card:nth-child(4), .testimonial:nth-child(4) { animation-delay: 0.2s; }
.card:nth-child(5), .article-item:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6), .article-item:nth-child(6) { animation-delay: 0.3s; }
.article-item:nth-child(7) { animation-delay: 0.35s; }
.article-item:nth-child(8) { animation-delay: 0.4s; }
.article-item:nth-child(9) { animation-delay: 0.45s; }
.article-item:nth-child(10) { animation-delay: 0.5s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px 0 44px;
  }

  .hero::before {
    width: 300px;
    height: 300px;
    right: -60px;
  }

  .hero-visual {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 70px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .brand-history {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  nav ul {
    display: none;
  }

  nav ul.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
    gap: 4px;
    animation: fadeInUp 0.3s ease;
  }

  nav ul.open li a {
    display: block;
    padding: 8px 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .search-box {
    order: 3;
    width: 100%;
  }

  .search-box input {
    width: 100%;
    flex: 1;
  }

  .search-box input:focus {
    width: 100%;
  }

  .section-title {
    font-size: 1.45rem;
  }

  section {
    padding: 40px 0;
  }

  .back-to-top {
    right: 16px;
    bottom: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    text-align: center;
    width: 100%;
  }

  .stats-row {
    gap: 12px;
    padding: 22px 0;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .card-grid,
  .article-list,
  .case-grid,
  .testimonial-grid,
  .news-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .howto-step {
    padding-left: 50px;
  }

  .howto-step::before {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .anchor-nav a {
    font-size: 0.8rem;
    padding: 4px 11px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========== ACCESSIBILITY & MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

::selection {
  background: rgba(255, 107, 53, 0.25);
  color: var(--text-strong);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
  border-radius: 6px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}