/* ================================================
   KFLUX - Global Body Filler Solutions
   Main Stylesheet
   ================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+KR:wght@300;400;500;600;700;800&display=swap');

/* ================================================
   CSS Variables
   ================================================ */
:root {
  --primary: #0066CC;
  --primary-dark: #004FA3;
  --primary-light: #E8F4F8;
  --secondary: #4A9FD4;
  --accent: #FF9500;
  --text-dark: #1a1a2e;
  --text-gray: #555566;
  --text-light: #888899;
  --bg-white: #FFFFFF;
  --bg-light: #F7F9FC;
  --bg-gray: #F0F2F5;
  --border: #E0E6EF;
  --shadow-sm: 0 2px 8px rgba(0,102,204,0.08);
  --shadow-md: 0 8px 24px rgba(0,102,204,0.12);
  --shadow-lg: 0 16px 48px rgba(0,102,204,0.16);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 80px;
}

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

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

body {
  font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ================================================
   Typography
   ================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 600px;
  line-height: 1.8;
}

/* ================================================
   Layout
   ================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 90px 0;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* ================================================
   HEADER / NAVIGATION
   ================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(2px);
}

#header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

#header.scrolled .nav-link {
  color: var(--text-dark);
}

#header.scrolled .nav-logo img {
  filter: none;
}

/* 로고 텍스트 */
.nav-logo span {
  transition: color 0.3s ease;
}
#header.scrolled .nav-logo > span {
  color: #1a1a2e !important;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

/* SVG 로고 - 헤더 상단(투명)일 때는 흰색 계열로 보이게 처리 */
.nav-logo svg text { transition: fill 0.3s ease; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

#header.scrolled .nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Nav CTA Button */
.nav-cta {
  background: var(--primary);
  color: white !important;
  border-radius: 50px;
  padding: 10px 22px !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: white !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

#header.scrolled .nav-toggle span {
  background: var(--text-dark);
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,102,204,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a1628;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #0d2144 40%, #0a3060 70%, #0066CC 100%);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transition: opacity 1s ease;
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 40, 0.3) 0%,
    rgba(10, 22, 40, 0.5) 50%,
    rgba(10, 22, 40, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: white;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-title span {
  color: #64b5f6;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  font-weight: 400;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  animation: fadeInUp 0.9s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.5s both;
}

.hero-stats {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  color: white;
  z-index: 2;
  animation: fadeInUp 0.9s ease 0.6s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1s both;
}

.hero-scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s infinite;
}

/* ================================================
   PRODUCT CARDS
   ================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.product-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-img-wrap {
  overflow: hidden;
  background: var(--bg-light);
}

.product-card-body {
  padding: 28px;
}

.product-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.product-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ================================================
   PARTNERS SECTION
   ================================================ */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
  min-width: 160px;
  height: 80px;
}

.partner-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.partner-item span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ================================================
   WHY KFLUX SECTION
   ================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.feature-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================
   FOOTER
   ================================================ */
#footer {
  background: #0d1b2e;
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
}

.footer-brand img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  background: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
}

.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

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

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact-item i {
  color: var(--secondary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

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

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

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

/* ================================================
   PAGE HERO (내부 페이지용)
   ================================================ */
.page-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d2144 50%, #0066CC 100%);
  padding: 160px 0 80px;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.page-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  color: rgba(255,255,255,0.4);
}

.breadcrumb .current {
  color: rgba(255,255,255,0.9);
}

/* ================================================
   TIMELINE
   ================================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 50px auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--primary-light);
  z-index: 1;
}

.timeline-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 320px;
  transition: var(--transition);
}

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

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ================================================
   PRODUCT DETAIL
   ================================================ */
.product-detail-hero {
  padding: 50px 0;
  background: var(--bg-light);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-gallery {
  position: relative;
}

.product-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  background: white;
  border: 1px solid var(--border);
}

.product-main-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  background: white;
}

.product-thumb.active,
.product-thumb:hover {
  border-color: var(--primary);
}

.product-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.product-detail-info .section-label {
  margin-bottom: 12px;
}

.product-detail-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.product-detail-desc {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 28px;
}

.product-specs {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.product-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.product-spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-gray);
  font-weight: 500;
}

.spec-value {
  font-weight: 600;
  color: var(--text-dark);
}

.product-advantages {
  margin-bottom: 28px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.advantage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.advantage-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.advantage-item i {
  color: var(--primary);
  flex-shrink: 0;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 50px;
  justify-content: center;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.process-step-card {
  text-align: center;
  padding: 20px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 110px;
  transition: var(--transition);
}

.process-step-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.process-step-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}

.process-step-num {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 auto 8px;
}

.process-step-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
}

.process-arrow {
  color: var(--text-light);
  font-size: 1.2rem;
}

/* ================================================
   LIGHTBOX / GALLERY
   ================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,102,204,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: white;
  font-size: 1.5rem;
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* ================================================
   CONTACT FORM
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-content h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item-content p, 
.contact-item-content a {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.contact-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-label span {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.form-control::placeholder {
  color: var(--text-light);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888899' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-group span {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: underline;
}

/* Map */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--border);
}

/* ================================================
   NEWS
   ================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.news-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-img-wrap {
  overflow: hidden;
  background: var(--bg-light);
}

.news-card-body {
  padding: 24px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.news-category {
  color: var(--primary);
  font-weight: 600;
}

.news-date {
  color: var(--text-light);
}

.news-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
  line-height: 1.5;
}

.news-desc {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-card-link:hover {
  gap: 8px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-gray);
  transition: var(--transition);
  cursor: pointer;
  background: white;
}

.page-btn.active,
.page-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ================================================
   SUCCESS MODAL
   ================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.modal-icon {
  width: 72px;
  height: 72px;
  background: #E8F5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: #4CAF50;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  section { padding: 70px 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-gallery { position: static; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .container { padding: 0 20px; }
  section { padding: 55px 0; }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,22,40,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 30px 24px;
    gap: 4px;
    overflow-y: auto;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 14px 16px;
    width: 100%;
    justify-content: space-between;
    color: rgba(255,255,255,0.9) !important;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    border: none;
    padding: 8px 16px;
    display: none;
  }

  .dropdown-menu.open {
    display: block;
  }

  .dropdown-link {
    color: rgba(255,255,255,0.7);
    padding: 10px 12px;
  }

  .nav-toggle {
    display: flex;
  }

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

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

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

  .hero-stats {
    gap: 32px;
    bottom: 90px;
  }

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

  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .product-thumbs { grid-template-columns: repeat(4, 1fr); }

  .timeline::before { left: 20px; }
  .timeline-item { padding-right: 0; padding-left: 56px; }
  .timeline-item:nth-child(even) { padding-left: 56px; padding-right: 0; }
  .timeline-dot { left: 20px; }
  .timeline-card { max-width: 100%; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 130px 0 60px; }

  .contact-form-wrap { padding: 28px 20px; }

  .process-steps { flex-direction: column; align-items: center; }
  .process-arrow { transform: rotate(90deg); }
}

@media (max-width: 480px) {
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
}

/* ================================================
   UTILITY
   ================================================ */
.bg-light { background: var(--bg-light); }
.bg-white { background: var(--bg-white); }
.bg-gray { background: var(--bg-gray); }
.mt-50 { margin-top: 50px; }
.mb-50 { margin-bottom: 50px; }
.divider {
  height: 1px;
  background: var(--border);
  margin: 50px 0;
}

/* Section head center */
.section-head {
  text-align: center;
  margin-bottom: 12px;
}

/* Scroll to top */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 500;
}

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

#scrollTop:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
