/* ===== CSS Variables ===== */
:root {
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-card: #1f2b47;
  --bg-card-hover: #253352;
  --color-gold: #c8a45c;
  --color-gold-light: #e8d5b5;
  --color-gold-dark: #a07d3a;
  --color-white: #f0f0f0;
  --color-gray: #8a9bb0;
  --color-dark: #0d1117;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: 'Noto Serif SC', 'SimSun', serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 0 20px rgba(200, 164, 92, 0.15);
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--color-gold-light);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

/* ===== Utility ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

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

.section-header h2 {
  font-size: 2.2rem;
  color: var(--color-white);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-gold);
}

.section-header p {
  color: var(--color-gray);
  font-size: 1rem;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gold-text {
  color: var(--color-gold);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 40px;
  width: auto;
}

.nav-brand span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
}

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

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

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #0d1117 100%);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(200, 164, 92, 0.4);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--color-gold);
  margin-bottom: 28px;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: 3.6rem;
  font-family: var(--font-serif);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h3 {
  font-size: 1.3rem;
  color: var(--color-gray);
  font-weight: 400;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1rem;
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.8;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-gold);
  transition: left var(--transition);
  z-index: -1;
}

.hero-btn:hover {
  color: var(--bg-primary);
}

.hero-btn:hover::before {
  left: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-gray);
  font-size: 0.8rem;
  animation: bounce 2s infinite;
}

.hero-scroll .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--color-gray);
  border-radius: 12px;
  position: relative;
}

.hero-scroll .mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: scrollDown 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollDown {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

/* ===== About ===== */
.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 50px;
}

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

.about-text p {
  color: var(--color-gray);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.about-slogan {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-gold);
  padding-left: 16px;
  border-left: 3px solid var(--color-gold);
  margin-top: 24px;
}

.about-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 164, 92, 0.2);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

.data-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.data-card {
  background: var(--bg-card);
  border: 1px solid rgba(200, 164, 92, 0.2);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.data-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.data-card:hover {
  border-color: rgba(200, 164, 92, 0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

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

.data-card .number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-gold);
  font-family: var(--font-serif);
  display: block;
}

.data-card .unit {
  font-size: 0.9rem;
  color: var(--color-gold-light);
  display: block;
  margin-top: 4px;
}

.data-card .label {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-top: 10px;
  display: block;
}

/* ===== Capabilities ===== */
.capabilities {
  background: var(--bg-primary);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.cap-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.cap-card:hover::after {
  opacity: 1;
}

.cap-icon {
  width: 52px;
  height: 52px;
  background: rgba(200, 164, 92, 0.1);
  border: 1px solid rgba(200, 164, 92, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-gold);
}

.cap-icon svg {
  width: 26px;
  height: 26px;
}

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

.cap-card p {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.7;
}

.cap-img {
  width: calc(100% + 56px);
  margin: -36px -28px 20px;
  height: 180px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8);
  transition: all var(--transition);
}

.cap-card:hover .cap-img {
  filter: brightness(1);
}

/* ===== Process ===== */
.process {
  background: var(--bg-secondary);
  overflow: hidden;
}

.process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-gold), var(--color-gold), transparent);
}

.process-step {
  display: flex;
  gap: 40px;
  padding: 30px 0;
  position: relative;
}

.process-dot {
  width: 64px;
  min-width: 64px;
  height: 64px;
  background: var(--bg-card);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-gold);
  z-index: 2;
  position: relative;
}

.process-info {
  flex: 1;
  padding-top: 8px;
}

.process-info h4 {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.process-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.process-sub span {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(200, 164, 92, 0.08);
  border: 1px solid rgba(200, 164, 92, 0.2);
  font-size: 0.85rem;
  color: var(--color-gold-light);
  transition: all var(--transition);
}

.process-sub span:hover {
  background: rgba(200, 164, 92, 0.15);
  border-color: var(--color-gold);
}

.process-img {
  width: 100%;
  max-width: 400px;
  height: 160px;
  object-fit: cover;
  margin-bottom: 16px;
  border: 1px solid rgba(200, 164, 92, 0.15);
  filter: brightness(0.85);
  transition: all var(--transition);
}

.process-step:hover .process-img {
  filter: brightness(1);
  border-color: rgba(200, 164, 92, 0.4);
}

/* ===== Products ===== */
.products {
  background: var(--bg-primary);
}

.products .swiper {
  padding: 20px 0 60px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(200, 164, 92, 0.15);
  padding: 0 30px 40px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-img {
  width: calc(100% + 60px);
  margin: 0 -30px 24px;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: all var(--transition);
}

.product-card:hover .product-img {
  filter: brightness(1);
  transform: scale(1.03);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 200px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  z-index: 2;
}

.product-card:hover {
  border-color: rgba(200, 164, 92, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

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

.product-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(200, 164, 92, 0.15);
  color: var(--color-gold);
  font-size: 0.8rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.product-card h4 {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.8;
}

.swiper-pagination-bullet {
  background: var(--color-gray) !important;
  opacity: 0.4 !important;
}

.swiper-pagination-bullet-active {
  background: var(--color-gold) !important;
  opacity: 1 !important;
}

/* ===== Services ===== */
.services {
  background: var(--bg-secondary);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(200, 164, 92, 0.3);
  transform: translateY(-4px);
}

.service-icon {
  margin-bottom: 16px;
  display: block;
  color: var(--color-gold);
}

.service-icon svg {
  width: 36px;
  height: 36px;
}

.service-card h4 {
  font-size: 1.05rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--color-gray);
}

/* ===== Team ===== */
.team {
  background: var(--bg-primary);
}

.team-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.team-content p {
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 2;
  margin-bottom: 30px;
}

.team-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.team-keywords span {
  padding: 10px 28px;
  border: 1px solid rgba(200, 164, 92, 0.3);
  color: var(--color-gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  transition: all var(--transition);
}

.team-keywords span:hover {
  background: rgba(200, 164, 92, 0.1);
  border-color: var(--color-gold);
}

/* ===== Culture ===== */
.culture {
  background: var(--bg-secondary);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.culture-card {
  background: var(--bg-card);
  border: 1px solid rgba(200, 164, 92, 0.1);
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.culture-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--color-gold);
}

.culture-card:hover {
  border-color: rgba(200, 164, 92, 0.3);
  transform: translateY(-4px);
}

.culture-card h4 {
  font-size: 1.15rem;
  color: var(--color-gold);
  margin-bottom: 16px;
  font-family: var(--font-serif);
}

.culture-card .subtitle {
  font-size: 0.9rem;
  color: var(--color-gold-light);
  margin-bottom: 16px;
  display: block;
}

.culture-card p {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.8;
}

/* ===== Customer Service ===== */
.customer-service {
  background: var(--bg-primary);
}

.service-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.phase-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
}

.phase-card:hover {
  border-color: rgba(200, 164, 92, 0.3);
}

.phase-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(200, 164, 92, 0.15);
  font-family: var(--font-serif);
  position: absolute;
  top: 16px;
  right: 20px;
}

.phase-card h4 {
  font-size: 1.1rem;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.phase-card p {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.8;
}

.quality-banner {
  background: var(--bg-card);
  border: 1px solid rgba(200, 164, 92, 0.2);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.quality-item .value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  font-family: var(--font-serif);
  display: block;
}

.quality-item .desc {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-top: 8px;
  display: block;
}

/* ===== Certifications ===== */
.certifications {
  background: var(--bg-secondary);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-item {
  background: var(--bg-card);
  border: 1px solid rgba(200, 164, 92, 0.1);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}

.cert-item:hover {
  border-color: rgba(200, 164, 92, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.cert-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(200, 164, 92, 0.1);
  border: 1px solid rgba(200, 164, 92, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.cert-icon svg {
  width: 28px;
  height: 28px;
}

.cert-item p {
  font-size: 0.85rem;
  color: var(--color-white);
  line-height: 1.5;
}

/* ===== Contact ===== */
.contact {
  background: var(--bg-primary);
}

.contact-info {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: 36px;
}

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

.contact-item {
  display: flex;
  gap: 16px;
  text-align: left;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(200, 164, 92, 0.1);
  border: 1px solid rgba(200, 164, 92, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-text h5 {
  font-size: 0.9rem;
  color: var(--color-gray);
  font-weight: 400;
  margin-bottom: 4px;
}

.contact-item-text p {
  font-size: 1rem;
  color: var(--color-white);
}
}

.contact-highlight {
  background: var(--bg-card);
  border: 1px solid rgba(200, 164, 92, 0.15);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
}

.contact-highlight:hover {
  border-color: rgba(200, 164, 92, 0.4);
  transform: translateX(4px);
}

.highlight-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  font-family: var(--font-serif);
  min-width: 100px;
}

.highlight-text {
  font-size: 0.95rem;
  color: var(--color-gray);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-dark);
  padding: 40px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 32px;
}

.footer-brand span {
  font-size: 1rem;
  color: var(--color-white);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--color-gray);
  font-size: 0.85rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-gray);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: var(--color-gray);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

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

.footer-beian-icon {
  width: 16px;
  height: 16px;
}

.footer-divider {
  opacity: 0.4;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid rgba(200, 164, 92, 0.3);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-gold);
  color: var(--bg-primary);
}

/* ===== Loading ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s, visibility 0.6s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(200, 164, 92, 0.2);
  border-top-color: var(--color-gold);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1024px) {
  .section {
    padding: 70px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .data-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .cap-grid,
  .service-grid,
  .culture-grid,
  .service-phases {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* ===== Responsive: Mobile ===== */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  /* Navbar mobile */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(13, 17, 23, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 20px;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .nav-overlay.active {
    display: block;
  }

  /* Hero mobile */
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero h3 {
    font-size: 1.1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 5px 16px;
  }

  /* About mobile */
  .data-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .data-card {
    padding: 24px 16px;
  }

  .data-card .number {
    font-size: 2rem;
  }

  /* Capabilities mobile */
  .cap-grid,
  .service-grid,
  .culture-grid,
  .service-phases {
    grid-template-columns: 1fr;
  }

  /* Process mobile */
  .process-step {
    gap: 20px;
  }

  .process-dot {
    width: 48px;
    min-width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .process-timeline::before {
    left: 23px;
  }

  .process-sub {
    gap: 8px;
  }

  .process-sub span {
    font-size: 0.8rem;
    padding: 5px 12px;
  }

  /* Certifications mobile */
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Quality banner mobile */
  .quality-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 28px 20px;
  }

  .quality-item .value {
    font-size: 1.6rem;
  }

  /* Footer mobile */
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Back to top mobile */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 16px;
  }

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

  .quality-banner {
    grid-template-columns: 1fr 1fr;
  }
}
