/* ============================================
   黔艺盛传媒 - 主站样式
   ============================================ */

/* --------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #0f2b4a;
  --color-primary-light: #1a4a7a;
  --color-primary-dark: #091e33;
  --color-accent: #f25c48;
  --color-accent-hover: #e04a36;
  --color-accent-soft: #fef0ed;
  --color-gold: #c8a45c;
  --color-gold-light: #e8d5a8;
  --color-bg-dark: #0a1929;
  --color-bg-light: #f8f7f4;
  --color-bg-card: #ffffff;
  --color-bg-section: #f0eeea;
  --color-text: #1a1a2e;
  --color-text-soft: #5a5a72;
  --color-text-muted: #9a9ab0;
  --color-text-inverse: #f8f7f4;
  --color-border: #e5e2dc;
  --color-success: #3aaf85;
  --color-warning: #f0a030;

  /* Typography */
  --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.75rem;
  --text-4xl: 3.5rem;

  --leading-tight: 1.15;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(242, 92, 72, 0.15);

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* --------------------------------------------
   2. RESET & BASE
   -------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* --------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-primary);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { line-height: var(--leading-relaxed); }
p + p { margin-top: 1em; }

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-soft);
  max-width: 600px;
  line-height: var(--leading-relaxed);
}

.text-accent { color: var(--color-accent); }
.text-gold { color: var(--color-gold); }
.text-soft { color: var(--color-text-soft); }
.text-center { text-align: center; }

/* --------------------------------------------
   4. LAYOUT
   -------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  background-color: var(--color-bg-section);
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.section-dark .section-title {
  color: var(--color-text-inverse);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header__accent {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-sm);
}

.section-header__accent::before,
.section-header__accent::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
}

.section-header__label {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent);
  text-transform: uppercase;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* --------------------------------------------
   5. NAVIGATION
   -------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.3s var(--ease-out);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-inverse);
  transition: color 0.3s var(--ease-out);
}

.navbar.scrolled .navbar__logo {
  color: var(--color-primary);
}

.navbar__logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.navbar__link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 4px 0;
  transition: color 0.2s var(--ease-out);
}

.navbar.scrolled .navbar__link {
  color: var(--color-text-soft);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transition: all 0.3s var(--ease-out);
  transform: translateX(-50%);
}

.navbar__link:hover {
  color: var(--color-accent);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar__link.active {
  color: var(--color-accent);
}

.navbar.scrolled .navbar__link.active {
  color: var(--color-accent);
}

/* Hamburger */
.navbar__toggle {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-inverse);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s var(--ease-out);
}

.navbar.scrolled .navbar__toggle span {
  background: var(--color-text);
}

.navbar__toggle span:nth-child(1) { top: 0; }
.navbar__toggle span:nth-child(2) { top: 9px; }
.navbar__toggle span:nth-child(3) { top: 18px; }

.navbar__toggle.active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
  background: var(--color-text);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.navbar__toggle.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
  background: var(--color-text);
}

.navbar.scrolled .navbar__toggle.active span {
  background: var(--color-text);
}

/* --------------------------------------------
   6. BUTTONS
   -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: var(--shadow-glow);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--color-text-inverse);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-inverse);
}

.btn-outline-dark {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: white;
}

.btn-outline-black {
  background: transparent;
  color: #000;
  border-color: #000;
}

.btn-outline-black:hover {
  background: #000;
  color: #fff;
}

.btn-sm {
  padding: 8px 20px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--text-base);
}

/* --------------------------------------------
   7. HERO
   -------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(242, 92, 72, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.1) 40px, rgba(255,255,255,0.1) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.1) 40px, rgba(255,255,255,0.1) 41px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding-top: var(--nav-height);
}

.hero__content {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s var(--ease-out) 0.2s forwards;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(242, 92, 72, 0.15);
  border: 1px solid rgba(242, 92, 72, 0.25);
  border-radius: 50px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, var(--text-4xl));
  color: var(--color-text-inverse);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--color-accent), #ff8a72);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, var(--text-lg));
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: heroFadeIn 0.8s var(--ease-out) 0.4s forwards;
}

.hero__shape {
  width: 400px;
  height: 400px;
  position: relative;
}

.hero__shape-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(242, 92, 72, 0.2);
  animation: shapePulse 4s var(--ease-out) infinite;
}

.hero__shape-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.hero__shape-ring:nth-child(2) {
  width: 75%;
  height: 75%;
  top: 12.5%;
  left: 12.5%;
  border-color: rgba(200, 164, 92, 0.15);
  animation-delay: 0.5s;
}

.hero__shape-ring:nth-child(3) {
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  border-color: rgba(255, 255, 255, 0.1);
  animation-delay: 1s;
}

.hero__shape-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-accent), #ff8a72);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 20px 60px rgba(242, 92, 72, 0.3);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  opacity: 0;
  animation: heroFadeIn 0.6s var(--ease-out) 1s forwards;
}

.hero__scroll-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  position: relative;
}

.hero__scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scrollBounce 2s var(--ease-out) infinite;
}

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shapePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.6; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.3; }
}

/* --------------------------------------------
   8. CARDS
   -------------------------------------------- */
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card--featured {
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
  z-index: 2;
}

.card--featured::before {
  content: '推荐';
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 14px;
  background: var(--color-accent);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: var(--tracking-wide);
}

.card--featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-md);
}

.card__icon--coral { background: var(--color-accent-soft); color: var(--color-accent); }
.card__icon--navy { background: #e8edf3; color: var(--color-primary); }
.card__icon--gold { background: #f5efe0; color: var(--color-gold); }
.card__icon--teal { background: rgba(0, 150, 136, 0.12); color: #009688; }

.card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  margin-bottom: var(--space-md);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.card__desc {
  color: var(--color-text-soft);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card__tag {
  padding: 4px 12px;
  background: var(--color-bg-section);
  border-radius: 50px;
  font-size: var(--text-xs);
  color: var(--color-text-soft);
  font-weight: 500;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-top: var(--space-md);
  transition: gap 0.25s var(--ease-out);
}

.card__link:hover {
  gap: 10px;
  color: var(--color-accent-hover);
}

/* --------------------------------------------
   9. STATS SECTION
   -------------------------------------------- */
.stats {
  padding: var(--space-xl) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.stats__item {
  text-align: center;
  padding: var(--space-lg);
}

.stats__number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stats__number .suffix {
  font-size: 0.5em;
  color: var(--color-accent);
  vertical-align: super;
}

.stats__label {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  font-weight: 500;
}

/* --------------------------------------------
   10. PRODUCT CARDS (Home)
   -------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

/* --------------------------------------------
   11. SERVICES GRID
   -------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: background 0.25s var(--ease-out);
}

.service-item:hover {
  background: var(--color-bg-card);
}

.service-item__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.service-item__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.service-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: 1.6;
}

/* --------------------------------------------
   12. LOGO WALL
   -------------------------------------------- */
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-lg) 0;
}

.logo-wall__item {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  transition: all 0.3s var(--ease-out);
  filter: grayscale(1);
  opacity: 0.6;
}

.logo-wall__item:hover {
  filter: grayscale(0);
  opacity: 1;
  color: var(--color-primary);
  border-color: var(--color-primary-light);
}

/* --------------------------------------------
   13. CTA SECTION
   -------------------------------------------- */
.cta-section {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.cta-section .section-title {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-sm);
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto var(--space-lg);
}

/* --------------------------------------------
   14. FOOTER
   -------------------------------------------- */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-sm);
  max-width: 320px;
}

.footer__heading {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-md);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s var(--ease-out);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__contact-icon {
  color: var(--color-accent);
  min-width: 16px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------
   15. PAGE HEADER (subpages)
   -------------------------------------------- */
.page-header {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary) 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(242, 92, 72, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

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

.page-header__breadcrumb {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-sm);
  letter-spacing: var(--tracking-wide);
}

.page-header__breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.page-header__breadcrumb a:hover {
  color: var(--color-accent);
}

.page-header__title {
  font-size: clamp(2rem, 4vw, var(--text-3xl));
  color: var(--color-text-inverse);
  margin-bottom: var(--space-xs);
}

.page-header__subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
  max-width: 540px;
}

/* --------------------------------------------
   16. PRODUCT DETAIL (products page)
   -------------------------------------------- */
.product-detail {
  padding: var(--space-2xl) 0;
}

.product-detail + .product-detail {
  border-top: 1px solid var(--color-border);
}

.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.product-detail__layout--reverse .product-detail__layout {
  direction: rtl;
}

.product-detail__layout--reverse .product-detail__layout > * {
  direction: ltr;
}

.product-detail__mockup {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-bg-card);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.product-detail__mockup-placeholder {
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
}

.product-detail__mockup-icon {
  font-size: 48px;
  margin-bottom: var(--space-sm);
}

.product-mockup__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-sm);
}

.product-detail__badge--gold {
  background: rgba(200, 164, 92, 0.15);
  color: var(--color-gold);
  border: 1px solid rgba(200, 164, 92, 0.25);
}

.product-detail__badge--blue {
  background: rgba(26, 74, 122, 0.12);
  color: var(--color-primary-light);
  border: 1px solid rgba(26, 74, 122, 0.2);
}

.product-detail__badge--coral {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border: 1px solid rgba(242, 92, 72, 0.2);
}

.product-detail__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.product-detail__desc {
  color: var(--color-text-soft);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.product-detail__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.product-detail__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}

.product-detail__feature::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
  min-width: 16px;
}

.product-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-md);
}

/* --------------------------------------------
   17. ABOUT PAGE
   -------------------------------------------- */
.about-intro {
  padding: var(--space-2xl) 0;
}

.about-intro__text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: var(--text-lg);
  color: var(--color-text-soft);
  line-height: 2;
}

.about-intro__blockquote {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  margin: var(--space-lg) auto;
  padding: var(--space-lg);
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  max-width: 700px;
}

/* Timeline */
.timeline {
  position: relative;
  padding: var(--space-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--color-border);
}

.timeline__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  position: relative;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item:nth-child(odd) .timeline__content {
  grid-column: 1;
  text-align: right;
  padding-right: var(--space-xl);
}

.timeline__item:nth-child(odd) .timeline__dot {
  grid-column: 2;
  justify-self: start;
}

.timeline__item:nth-child(even) .timeline__content {
  grid-column: 2;
  grid-row: 1;
  padding-left: var(--space-xl);
}

.timeline__item:nth-child(even) .timeline__dot {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg-light);
  box-shadow: 0 0 0 2px var(--color-accent);
  position: relative;
  z-index: 1;
  margin-top: 6px;
}

.timeline__year {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.timeline__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.timeline__desc {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: 1.6;
}

/* Advantage cards */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.advantage-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-out);
}

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

.advantage-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.advantage-card__icon--coral { background: var(--color-accent-soft); }
.advantage-card__icon--navy { background: #e8edf3; }
.advantage-card__icon--gold { background: #f5efe0; }
.advantage-card__icon--green { background: #e8f5ee; }

.advantage-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 6px;
}

.advantage-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: 1.6;
}

/* --------------------------------------------
   18. CONTACT PAGE
   -------------------------------------------- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.contact-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out);
}

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

.contact-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.contact-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-card__value {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: 1.6;
}

/* Contact Form */
.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  transition: all 0.25s var(--ease-out);
  font-size: var(--text-sm);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(242, 92, 72, 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--color-accent);
}

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

.form-error {
  font-size: var(--text-xs);
  color: var(--color-accent);
  margin-top: 4px;
  display: none;
}

.form-input.error + .form-error,
.form-textarea.error + .form-error {
  display: block;
}

.form-success {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  display: none;
}

.form-success__icon {
  font-size: 48px;
  margin-bottom: var(--space-md);
}

.form-success__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.form-success__text {
  color: var(--color-text-soft);
}

/* --------------------------------------------
   19. 404 PAGE
   -------------------------------------------- */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl);
}

.page-404__code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.page-404__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.page-404__desc {
  color: var(--color-text-soft);
  margin-bottom: var(--space-lg);
}

/* --------------------------------------------
   20. REVEAL ANIMATIONS
   -------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.6s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --------------------------------------------
   21. UTILITIES
   -------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --------------------------------------------
   22. REDUCED MOTION
   -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .hero__content,
  .hero__visual {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* --------------------------------------------
   23. RESPONSIVE - TABLET
   -------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --text-3xl: 2.25rem;
    --text-4xl: 2.75rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
  }

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

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

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .timeline__item:nth-child(odd) .timeline__content {
    padding-right: var(--space-md);
  }

  .timeline__item:nth-child(even) .timeline__content {
    padding-left: var(--space-md);
  }
}

/* --------------------------------------------
   24. RESPONSIVE - MOBILE
   -------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --text-xl: 1.25rem;
    --text-2xl: 1.625rem;
    --text-3xl: 2rem;
    --text-4xl: 2.25rem;
    --space-xl: 2.5rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
  }

  .navbar__toggle {
    display: block;
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: var(--nav-height) var(--space-lg) var(--space-lg);
    gap: var(--space-sm);
    transition: right 0.3s var(--ease-out);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
  }

  .navbar__links.open {
    right: 0;
  }

  .navbar__link {
    color: var(--color-text-soft);
    font-size: var(--text-base);
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-height) + var(--space-lg));
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__shape {
    width: 240px;
    height: 240px;
    margin: 0 auto;
  }

  .hero__shape-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .grid-2,
  .grid-3,
  .products-grid,
  .contact-info {
    grid-template-columns: 1fr;
  }

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

  .stats__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .product-detail__layout {
    grid-template-columns: 1fr;
  }

  .product-detail__layout--reverse .product-detail__layout {
    direction: ltr;
  }

  .product-detail__mockup {
    aspect-ratio: 16/12;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline__item {
    grid-template-columns: 20px 1fr;
    gap: var(--space-md);
  }

  .timeline__item:nth-child(odd) .timeline__content,
  .timeline__item:nth-child(even) .timeline__content {
    grid-column: 2;
    text-align: left;
    padding: 0;
  }

  .timeline__item:nth-child(odd) .timeline__dot,
  .timeline__item:nth-child(even) .timeline__dot {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

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

  .contact-info {
    grid-template-columns: 1fr;
  }

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

  .card--featured {
    transform: none;
  }

  .card--featured:hover {
    transform: translateY(-6px);
  }
}

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

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

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }
}
