/* ============================================================
   融川智能科技 - 主样式表
   ============================================================ */

:root {
  --navy: #0d1b3e;
  --navy-mid: #1a237e;
  --blue: #1565c0;
  --blue-light: #4fc3f7;
  --gold: #ffd600;
  --gold-light: #fff176;
  --green: #00c853;
  --white: #ffffff;
  --gray-50: #f8faff;
  --gray-100: #f0f4ff;
  --gray-200: #e3eaf8;
  --gray-400: #90a4ae;
  --gray-600: #546e7a;
  --text-main: #1a1a2e;
  --text-sub: #4a5568;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(13,27,62,0.10);
  --shadow-lg: 0 8px 40px rgba(13,27,62,0.18);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

/* -------- NAVBAR -------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,27,62,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(13,27,62,0.99);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo-link { display: flex; align-items: center; }
.logo-svg { height: 46px; width: auto; }
.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  padding: 6px 14px;
  border-radius: 8px;
  transition: var(--transition);
  font-weight: 500;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* -------- HERO -------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #060d20 0%, #0d1b3e 50%, #0a2450 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(79,195,247,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 70%, rgba(255,214,0,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 50%, rgba(79,195,247,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 10% 80%, rgba(255,214,0,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 20%, rgba(79,195,247,0.5) 0%, transparent 100%);
}
.hero::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -10%;
  width: 120%;
  height: 200px;
  background: linear-gradient(transparent, rgba(79,195,247,0.06));
  clip-path: ellipse(50% 50% at 50% 100%);
  animation: waveFloat 6s ease-in-out infinite;
}
@keyframes waveFloat {
  0%,100% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-20px) scaleX(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 820px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,214,0,0.15);
  border: 1px solid rgba(255,214,0,0.4);
  color: var(--gold);
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  animation: fadeInUp 0.6s ease both;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease 0.1s both;
}
.gradient-text {
  background: linear-gradient(90deg, #ffd600, #4fc3f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  line-height: 1.85;
  animation: fadeInUp 0.7s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.7s ease 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
  animation: fadeInUp 0.7s ease 0.4s both;
}
.stat {
  padding: 0 32px 0 0;
  color: var(--white);
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat > span:not(.stat-num) {
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.18);
  margin-right: 32px;
}
.hero-scroll-hint {
  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: 0.78rem;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* -------- BUTTONS -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(90deg, #ffd600, #ffab00);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(255,214,0,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,214,0,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.btn-full { width: 100%; }

/* -------- SECTIONS -------- */
.section { padding: 100px 0; }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--navy-mid);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-sub);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* -------- ABOUT -------- */
.about-section { background: var(--gray-50); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text p {
  color: var(--text-sub);
  margin-bottom: 18px;
  line-height: 1.8;
}
.about-text strong { color: var(--navy-mid); }
.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.cert-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--navy-mid);
  font-weight: 600;
}
.about-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-illustration { width: 100%; display: block; }

/* -------- PRODUCTS -------- */
.products-section { background: var(--white); }
.product-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--gray-100);
  border: 2px solid transparent;
  color: var(--text-sub);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--navy-mid); color: var(--navy-mid); }
.filter-btn.active {
  background: var(--navy-mid);
  color: var(--white);
  border-color: var(--navy-mid);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.product-card-img {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1b3e, #1565c0);
  position: relative;
  overflow: hidden;
}
.product-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}
.product-card-body { padding: 20px; }
.product-cat {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.product-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.product-meta span {
  background: var(--gray-100);
  color: var(--text-sub);
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 6px;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}
.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #e53935;
}
.product-price-prefix { font-size: 0.85rem; font-weight: 500; }
.btn-sm {
  padding: 7px 18px;
  font-size: 0.85rem;
  border-radius: 8px;
}
.btn-detail {
  background: var(--navy-mid);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 0.85rem;
}
.btn-detail:hover { background: var(--blue); }

/* Product SVG illustrations */
.prod-illus {
  width: 130px;
  height: 130px;
}

/* -------- MODAL -------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: var(--gray-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  transition: var(--transition);
  z-index: 1;
}
.modal-close:hover { background: var(--gray-200); color: var(--text-main); }
.modal-body { padding: 36px; }
.modal-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.modal-img {
  width: 140px;
  height: 140px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0d1b3e, #1565c0);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-info { flex: 1; }
.modal-cat { font-size: 0.8rem; color: var(--blue); font-weight: 600; margin-bottom: 4px; }
.modal-name { font-size: 1.4rem; font-weight: 800; color: var(--text-main); margin-bottom: 10px; }
.modal-price { font-size: 1.6rem; font-weight: 800; color: #e53935; margin-bottom: 12px; }
.modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modal-feature-tag {
  background: rgba(26,35,126,0.08);
  color: var(--navy-mid);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 50px;
}
.modal-desc {
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.75;
}
.modal-specs h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr:nth-child(odd) td { background: var(--gray-50); }
.specs-table td {
  padding: 9px 14px;
  font-size: 0.88rem;
  border: none;
}
.specs-table td:first-child { color: var(--text-sub); width: 40%; }
.specs-table td:last-child { color: var(--text-main); font-weight: 600; }
.modal-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-contact-modal {
  background: var(--navy-mid);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-contact-modal:hover { background: var(--blue); }

/* -------- ADVANTAGES -------- */
.advantages-section { background: var(--gray-50); }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.adv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
}
.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-light);
}
.adv-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}
.adv-icon svg { width: 100%; height: 100%; }
.adv-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}
.adv-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* -------- BUSINESS -------- */
.business-section { background: var(--gray-50); }
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.biz-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.biz-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4fc3f7, #ffd600);
  opacity: 0;
  transition: var(--transition);
}
.biz-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.biz-card:hover::before { opacity: 1; }
.biz-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
}
.biz-icon svg { width: 100%; height: 100%; }
.biz-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}
.biz-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 18px;
}
.biz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-tags span {
  background: var(--gray-100);
  color: var(--navy-mid);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 50px;
}

/* -------- SCENES -------- */
.scenes-section { background: var(--navy); }
.scenes-section .section-tag { background: rgba(255,255,255,0.1); color: var(--blue-light); }
.scenes-section .section-title { color: var(--white); }
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.scene-card {
  border-radius: var(--radius-lg);
  height: 320px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  background: #0d1b3e;
}
.scene-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.scene-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.scene-card:hover .scene-bg-img { transform: scale(1.08); }
.scene-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(5,11,30,0.85));
  transition: var(--transition);
}
.scene-card:hover .scene-overlay { opacity: 0.6; }
.scene-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: var(--white);
  z-index: 1;
}
.scene-icon { font-size: 2rem; margin-bottom: 8px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.55)); }
.scene-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.scene-content p { font-size: 0.8rem; opacity: 0.9; line-height: 1.5; }

/* -------- NEWS -------- */
.news-section { background: var(--white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.news-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.news-cat {
  background: rgba(26,35,126,0.08);
  color: var(--navy-mid);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
}
.news-date { font-size: 0.8rem; color: var(--gray-400); }
.news-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 10px;
}
.news-summary {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* -------- CONTACT -------- */
.contact-section { background: var(--white); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-label { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 4px; }
.contact-value { font-size: 0.95rem; color: var(--text-main); font-weight: 500; line-height: 1.6; }
.wechat-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-top: 8px;
}
.qr-placeholder { width: 88px; height: 88px; flex-shrink: 0; }
.qr-text { font-size: 0.9rem; color: var(--text-sub); line-height: 1.6; font-weight: 600; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 7px;
}
.req { color: #e53935; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(26,35,126,0.08);
}
.form-group textarea { resize: vertical; }
.form-feedback {
  margin-top: 12px;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: 8px;
  display: none;
}
.form-feedback.success { background: #e8f5e9; color: #2e7d32; display: block; }
.form-feedback.error { background: #ffebee; color: #c62828; display: block; }

/* -------- FOOTER -------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
}
.footer-brand .logo-svg { height: 44px; margin-bottom: 16px; }
.footer-slogan {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  margin-top: 10px;
  letter-spacing: 1px;
}
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 9px;
  line-height: 1.5;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); transition: color .2s, border-color .2s; }
.footer-bottom a:hover { color: var(--blue-light); border-bottom-color: var(--blue-light); }

/* -------- SCROLL TOP -------- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-mid);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,35,126,0.35);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--blue); transform: translateY(-3px); }

/* -------- LANGUAGE SWITCHER -------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  line-height: 1;
}
.lang-switch button:hover { color: var(--white); }
.lang-switch button.active {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(255,214,0,0.35);
}
@media (max-width: 480px) {
  .lang-switch { margin-left: 8px; }
  .lang-switch button { padding: 5px 9px; font-size: 0.78rem; }
}

/* -------- ANIMATIONS -------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------- RESPONSIVE -------- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: repeat(2,1fr); }
  .business-grid { grid-template-columns: repeat(2,1fr); }
  .news-grid { grid-template-columns: repeat(2,1fr); }
  .scenes-grid { grid-template-columns: repeat(3,1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(13,27,62,0.98);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-content { padding: 100px 24px 60px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .advantages-grid { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .scenes-grid { grid-template-columns: repeat(2,1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .scenes-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}
