﻿/* ============================================
   JunQuan Tech - Premium Stylesheet v2.0
   ============================================ */

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.7; color: #2c3e50;
  background: #fff; overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

:root {
  --primary: #0B1D35;
  --primary-dark: #06111F;
  --accent: #00B4FF;
  --accent-glow: rgba(0, 180, 255, 0.35);
  --text-dark: #1a1a2e;
  --text-body: #4a5568;
  --text-muted: #94a3b8;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 12px rgba(11, 29, 53, 0.06);
  --shadow-md: 0 8px 32px rgba(11, 29, 53, 0.10);
  --shadow-lg: 0 24px 64px rgba(11, 29, 53, 0.15);
  --shadow-xl: 0 40px 100px rgba(11, 29, 53, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.4s var(--ease);
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }

.section-header { text-align: center; margin-bottom: 72px; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; padding: 8px 20px;
  background: rgba(0, 180, 255, 0.08);
  border-radius: 100px; border: 1px solid rgba(0, 180, 255, 0.2);
}
.section-header h2 {
  font-size: 44px; font-weight: 700; color: var(--primary);
  margin-bottom: 18px; line-height: 1.25; letter-spacing: -0.5px;
}
.section-header p { font-size: 17px; color: var(--text-muted); max-width: 640px; margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 34px; font-size: 15px; font-weight: 600;
  border-radius: 100px; gap: 10px; transition: transform var(--t), box-shadow var(--t), background var(--t);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0088cc); color: #fff;
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px var(--accent-glow); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,0.2); }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 28px 0; transition: all var(--t);
}
.header.scrolled {
  background: rgba(255,255,255,0.92); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); padding: 16px 0;
  box-shadow: 0 1px 0 rgba(11, 29, 53, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo-img { height: 36px; width: auto; object-fit: contain; filter: brightness(0) invert(1); transition: filter var(--t); }
.header.scrolled .logo-img { filter: none; }
.footer-brand .logo-img { filter: brightness(0) invert(1); height: 32px; }

.nav { display: flex; gap: 6px; }
.nav-link {
  padding: 10px 22px; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.9); border-radius: 100px;
  transition: all var(--t); letter-spacing: 0.3px;
}
.header.scrolled .nav-link { color: var(--text-dark); }
.nav-link:hover { color: var(--accent); background: rgba(0, 180, 255, 0.08); }
.nav-link.active { color: var(--accent); background: rgba(0, 180, 255, 0.12); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span {
  display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--t);
}
.header.scrolled .menu-toggle span { background: var(--primary); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
  background: var(--primary);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,17,31,0.85) 0%, rgba(11,29,53,0.70) 50%, rgba(11,29,53,0.60) 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px; z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 80px; align-items: center; padding-top: 120px; padding-bottom: 100px;
}
.hero-text { color: #fff; }
.hero-subtitle {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 28px; padding: 10px 22px;
  background: rgba(0, 180, 255, 0.1); border: 1px solid rgba(0, 180, 255, 0.3);
  border-radius: 100px;
}
.hero-subtitle::before {
  content: ''; width: 30px; height: 2px; background: var(--accent); border-radius: 2px;
}
.hero-text h1 {
  font-size: 64px; font-weight: 700; line-height: 1.15;
  margin-bottom: 28px; letter-spacing: -1px;
}
.hero-text h1 span { color: var(--accent); }
.hero-text p {
  font-size: 18px; line-height: 1.85; color: rgba(255,255,255,0.75);
  margin-bottom: 40px; max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-visual-inner {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 1;
}
.hero-visual-inner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(40px);
}
.hero-accent-card {
  position: relative; z-index: 2; width: 100%; height: 100%;
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-accent-card img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-visual-dots {
  position: absolute; bottom: -48px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero-visual-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.3); transition: all var(--t);
}
.hero-visual-dots button.active {
  width: 32px; border-radius: 6px; background: var(--accent);
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.5); font-size: 12px; letter-spacing: 2px;
  animation: bounce 2.5s infinite; z-index: 2;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   STATS
   ============================================ */
.stats { background: #fff; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0; text-align: center; }
.stat-number {
  font-size: 52px; font-weight: 700; color: var(--primary); line-height: 1;
  margin-bottom: 8px; font-family: 'Inter', sans-serif; letter-spacing: -1px;
}
.stat-label { font-size: 15px; color: var(--text-muted); font-weight: 500; }

/* ============================================
   SERVICES
   ============================================ */
.services-section { background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  transition: all var(--t); border: 1px solid transparent;
  position: relative;
}
.service-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-xl);
  border-color: var(--border);
}
.service-image { aspect-ratio: 16/10; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.service-card:hover .service-image img { transform: scale(1.08); }

.service-body { padding: 28px 28px 32px; }
.service-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,180,255,0.12), rgba(11,29,53,0.06));
  border-radius: 14px; font-size: 22px; color: var(--accent); margin-bottom: 18px;
}
.service-body h3 {
  font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 10px;
}
.service-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--accent);
  transition: gap var(--t);
}
.service-link:hover { gap: 12px; }

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-visual { position: relative; }
.about-photo-wrap {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-photo-wrap::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(11,29,53,0.0) 40%, rgba(11,29,53,0.6) 100%);
}
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -24px; right: -24px; z-index: 3;
  background: #fff; border-radius: var(--radius); padding: 28px 32px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  text-align: center;
}
.about-badge-number {
  font-size: 48px; font-weight: 700; color: var(--accent); line-height: 1;
  font-family: 'Inter', sans-serif;
}
.about-badge-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; letter-spacing: 1px; }

.about-text h2 {
  font-size: 38px; font-weight: 700; color: var(--primary);
  margin-bottom: 20px; line-height: 1.3; letter-spacing: -0.5px;
}
.about-text p { font-size: 16px; color: var(--text-body); line-height: 1.8; margin-bottom: 14px; }
.about-features { margin: 32px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-body); font-weight: 500;
}
.about-features i { color: var(--accent); font-size: 14px; }

/* ============================================
   CTA
   ============================================ */
.cta-section {
  position: relative; padding: 100px 0; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(0, 180, 255, 0.15) 0%, transparent 50%),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
}
.cta-content { position: relative; z-index: 1; color: #fff; max-width: 640px; margin: 0 auto; }
.cta-content h2 { font-size: 40px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.cta-content p { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 36px; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.65); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px; padding: 80px 0 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.8; margin-top: 16px; max-width: 300px; }
.footer-links h4, .footer-contact h4 {
  font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 20px; letter-spacing: 1px;
}
.footer-links a {
  display: block; font-size: 14px; padding: 6px 0;
  color: rgba(255,255,255,0.55); transition: color var(--t);
}
.footer-links a:hover { color: var(--accent); }
.footer-contact p {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; padding: 8px 0; line-height: 1.6;
}
.footer-contact i { color: var(--accent); margin-top: 3px; width: 18px; flex-shrink: 0; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0;
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0088cc); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px var(--accent-glow);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all var(--t);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--accent-glow); }

/* ============================================
   PAGE BANNER (subpages)
   ============================================ */
.page-banner {
  position: relative; padding: 160px 0 100px; overflow: hidden;
  background-size: cover; background-position: center;
}
.page-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,17,31,0.88) 0%, rgba(11,29,53,0.80) 100%);
}
.page-banner-content { position: relative; z-index: 1; color: #fff; text-align: center; }
.page-banner-content h1 { font-size: 48px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.5px; }
.page-banner-content p { font-size: 17px; color: rgba(255,255,255,0.7); }
.breadcrumb { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,0.5); letter-spacing: 1px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 10px; opacity: 0.4; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 100px; }
.about-intro-visual { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-intro-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-intro-text h2 { font-size: 34px; font-weight: 700; color: var(--primary); margin-bottom: 20px; line-height: 1.3; }
.about-intro-text p { font-size: 16px; color: var(--text-body); line-height: 1.85; margin-bottom: 14px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card {
  background: var(--bg-light); padding: 44px 32px; border-radius: var(--radius);
  text-align: center; transition: all var(--t); border: 1px solid transparent;
}
.value-card:hover {
  background: #fff; transform: translateY(-6px);
  box-shadow: var(--shadow-md); border-color: var(--border);
}
.value-icon {
  width: 72px; height: 72px; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,180,255,0.12), rgba(11,29,53,0.06));
  border-radius: 50%; font-size: 28px; color: var(--accent);
}
.value-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* Timeline */
.timeline { position: relative; padding: 40px 0 20px; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent); transform: translateX(-50%);
}
.timeline-item { position: relative; padding: 28px 0; display: flex; align-items: center; }
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
  width: calc(50% - 50px); background: #fff; padding: 32px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: all var(--t);
}
.timeline-content:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.timeline-dot {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; background: var(--accent); border-radius: 50%;
  border: 4px solid #fff; box-shadow: 0 0 0 2px var(--accent); z-index: 2;
}
.timeline-year { font-size: 26px; font-weight: 700; color: var(--accent); margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.timeline-content h4 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ============================================
   SERVICES DETAIL PAGE
   ============================================ */
.service-detail-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  margin-bottom: 100px;
}
.service-detail-item:last-child { margin-bottom: 0; }
.service-detail-item:nth-child(even) { direction: rtl; }
.service-detail-item:nth-child(even) > * { direction: ltr; }

.service-detail-visual { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.service-detail-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.service-detail-item:hover .service-detail-visual img { transform: scale(1.04); }

.service-detail-text h3 {
  font-size: 30px; font-weight: 700; color: var(--primary); margin-bottom: 16px; line-height: 1.3;
}
.service-detail-text > p { font-size: 16px; color: var(--text-body); line-height: 1.85; margin-bottom: 24px; }
.service-detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.service-detail-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-body); font-weight: 500;
}
.service-detail-list i { color: var(--accent); font-size: 12px; }

/* ============================================
   CASES PAGE
   ============================================ */
.cases-filter {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 56px; flex-wrap: wrap;
}
.filter-btn {
  padding: 11px 28px; font-size: 14px; font-weight: 500;
  color: var(--text-body); background: var(--bg-light); border-radius: 100px;
  transition: all var(--t);
}
.filter-btn:hover { background: #eef2f7; color: var(--primary); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent), #0088cc);
  color: #fff; box-shadow: 0 6px 20px var(--accent-glow);
}
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all var(--t); cursor: pointer;
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.case-image { aspect-ratio: 16/10; overflow: hidden; }
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.case-card:hover .case-image img { transform: scale(1.08); }
.case-body { padding: 26px 28px 30px; }
.case-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent);
  padding: 5px 14px; background: rgba(0, 180, 255, 0.08);
  border-radius: 100px; margin-bottom: 14px; letter-spacing: 0.5px;
}
.case-body h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.case-body p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section { padding: 80px 0 120px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; }
.contact-info h2 { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.contact-info > p { font-size: 16px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.75; }

.contact-item {
  display: flex; gap: 20px; padding: 24px; background: var(--bg-light);
  border-radius: var(--radius); margin-bottom: 14px; transition: all var(--t);
}
.contact-item:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateX(4px); }
.contact-item-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,180,255,0.12), rgba(11,29,53,0.06));
  border-radius: 14px; color: var(--accent); font-size: 20px;
}
.contact-item h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.contact-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.contact-form-wrapper {
  background: #fff; padding: 48px; border-radius: var(--radius);
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.contact-form h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 8px; letter-spacing: 0.3px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; font-size: 15px; font-family: inherit;
  color: var(--text-dark); background: var(--bg-light); border: 1px solid transparent;
  border-radius: var(--radius-sm); transition: all var(--t); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  background: #fff; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 180, 255, 0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ============================================
   NEWS PAGE
   ============================================ */
.featured-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.featured-image { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.featured-card:hover .featured-image img { transform: scale(1.05); }
.featured-body { padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 {
  font-size: 28px; font-weight: 700; color: var(--primary); line-height: 1.35;
  margin: 14px 0 16px; letter-spacing: -0.3px;
}
.featured-body > p { font-size: 15px; color: var(--text-body); line-height: 1.8; margin-bottom: 20px; }
.news-meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted);
}
.news-meta i { color: var(--accent); margin-right: 6px; }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in, .fade-in-up, .fade-in-left, .fade-in-right {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  transition-delay: var(--delay, 0s);
}
.fade-in-left { transform: translateX(-50px); }
.fade-in-right { transform: translateX(50px); }
.fade-in.visible, .fade-in-up.visible,
.fade-in-left.visible, .fade-in-right.visible {
  opacity: 1; transform: translate(0, 0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .section { padding: 90px 0; }
  .hero-content { gap: 48px; grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-text h1 { font-size: 48px; }
  .hero-actions { justify-content: center; }
  .hero-visual-inner { max-width: 420px; }

  .section-header h2 { font-size: 34px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-intro, .service-detail-item, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-detail-item:nth-child(even) { direction: ltr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; padding-left: 50px; }
  .timeline-content { width: 100%; }
  .timeline-dot { left: 20px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 40px; }

  .form-row { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-image { aspect-ratio: 16/9; }
  .featured-body { padding: 32px; }
}

@media (max-width: 768px) {
  .header { padding: 16px 0; }
  .nav {
    position: fixed; top: 62px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 20px; gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%); transition: transform var(--t);
  }
  .nav.open { transform: translateY(0); }
  .nav-link { color: var(--text-dark); padding: 14px 20px; border-radius: 10px; }
  .menu-toggle { display: flex; }

  .hero-text h1 { font-size: 36px; letter-spacing: -0.5px; }
  .hero-text p { font-size: 16px; }
  .hero-visual-inner { display: none; }

  .section-header h2 { font-size: 30px; }
  .about-text h2 { font-size: 26px; }
  .services-grid, .cases-grid, .values-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; padding: 60px 0 32px; gap: 32px; }
  .contact-form-wrapper { padding: 32px 24px; }
  .page-banner { padding: 130px 0 70px; }
  .page-banner-content h1 { font-size: 34px; }

  .about-badge { right: auto; left: 16px; bottom: -20px; padding: 20px 24px; }
  .about-badge-number { font-size: 36px; }

  .stats-grid { padding: 36px 0; gap: 20px; }
  .stat-number { font-size: 32px; }

  .service-detail-list { grid-template-columns: 1fr; }
  .featured-body { padding: 24px; }
  .featured-body h2 { font-size: 22px; }
}

@media (max-width: 480px) {
  .section { padding: 70px 0; }
  .hero-text h1 { font-size: 30px; }
  .btn { padding: 12px 26px; font-size: 14px; }
  .container { padding: 0 20px; }
  .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}
