/* ================================
   Qishun Technology - Global Styles
   ================================ */

/* CSS Variables */
:root {
  --color-primary: #0c4a8e;
  --color-primary-dark: #083366;
  --color-primary-light: #1e6db5;
  --color-accent: #d4a017;
  --color-accent-light: #e6b73a;
  --color-dark: #1a1a2e;
  --color-text: #2d2d3a;
  --color-text-light: #6b7280;
  --color-gray: #9ca3af;
  --color-bg-light: #f3f4f6;
  --color-bg-alt: #f8f9fb;
  --color-white: #ffffff;
  --color-border: #e5e7eb;
  --color-overlay: rgba(12, 74, 142, 0.85);

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

/* Section */
.section {
  padding: 100px 0;
}

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

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-header .subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Divider */
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

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

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

.btn-accent:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

/* ================================
   NAVBAR
   ================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--color-white);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

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

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

.navbar-brand .logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.navbar-brand .brand-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  transition: var(--transition);
}

.navbar-brand .brand-text .brand-name span {
  color: var(--color-accent);
}

.navbar-brand .brand-text .brand-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand .brand-text .brand-name {
  color: var(--color-dark);
}

.navbar.scrolled .navbar-brand .brand-text .brand-sub {
  color: var(--color-text-light);
}

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

.navbar-nav .nav-link {
  padding: 8px 18px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.navbar.scrolled .navbar-nav .nav-link {
  color: var(--color-text);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-accent);
}

.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active {
  color: var(--color-primary);
}

.navbar-cta {
  margin-left: 12px;
}

.navbar-cta .btn {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* Mobile menu toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar-toggle span {
  width: 26px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .navbar-toggle span {
  background: var(--color-dark);
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--color-dark);
}
.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--color-dark);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1' opacity='0.05'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3Cpath d='M0 0l80 80M80 0L0 80'/%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero-content .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-content .hero-tag i {
  color: var(--color-accent);
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-content h1 .highlight {
  color: var(--color-accent);
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

/* Hero decorative shapes */
.hero-shape {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
  z-index: 1;
}

/* ================================
   PAGE HEADER (sub-pages)
   ================================ */
.page-header {
  position: relative;
  padding: 180px 0 80px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1' opacity='0.05'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3Cpath d='M0 0l80 80M80 0L0 80'/%3E%3C/g%3E%3C/svg%3E");
}

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

.page-header h1 {
  font-size: 2.75rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
}

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

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

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

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

.breadcrumb .current {
  color: var(--color-accent);
}

/* ================================
   FEATURES / ADVANTAGES
   ================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

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

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

.feature-card .feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  font-size: 1.75rem;
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #2d8f5f, #4ab87a);
}

.feature-card:nth-child(4) .feature-icon {
  background: linear-gradient(135deg, #8b4a9f, #b266cc);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ================================
   ABOUT / BUSINESS OVERVIEW
   ================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-section.reverse .split-image {
  order: 2;
}

.split-content .subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.split-content h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.split-content p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.split-list {
  margin: 24px 0 32px;
}

.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.split-list li i {
  color: var(--color-primary);
  font-size: 1.125rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.split-image {
  position: relative;
}

.split-image .img-card {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
}

.split-image .img-card svg {
  width: 100%;
  height: 100%;
}

.split-image .img-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.split-image .img-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.split-image .img-badge .badge-text {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* ================================
   STATS COUNTER
   ================================ */
.stats-section {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item .stat-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  margin-top: 12px;
}

/* ================================
   PRODUCT CARDS
   ================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

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

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

.product-card .product-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.product-card .product-image svg {
  width: 100%;
  height: 100%;
  transition: var(--transition);
}

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

.product-card .product-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

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

.product-card .product-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.product-card .product-body p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-card .product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-card .product-meta span {
  font-size: 0.75rem;
  color: var(--color-primary);
  background: rgba(12,74,142,0.08);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 500;
}

.product-card .product-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.product-card .product-link:hover {
  color: var(--color-accent);
  gap: 12px;
}

/* ================================
   TIMELINE (About page)
   ================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -48px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-primary);
  z-index: 2;
}

.timeline-item .timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.timeline-item .timeline-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.timeline-item .timeline-text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ================================
   TEAM
   ================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}

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

.team-card .team-avatar {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
}

.team-card .team-avatar i {
  font-size: 4rem;
  color: rgba(255,255,255,0.3);
}

.team-card .team-info {
  padding: 24px;
}

.team-card .team-info h4 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.team-card .team-info .team-role {
  font-size: 0.875rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card .team-info p {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ================================
   CERTIFICATIONS
   ================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.cert-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
}

.cert-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.cert-item i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.cert-item h5 {
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.cert-item p {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* ================================
   PRODUCT DETAIL TABLE
   ================================ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-table thead {
  background: var(--color-primary);
}

.spec-table th {
  padding: 16px 20px;
  text-align: left;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
}

.spec-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-table tbody tr:hover {
  background: var(--color-bg-light);
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--color-dark);
}

/* Application areas */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

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

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

.app-card i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.app-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.app-card p {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

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

.contact-info-card {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--color-white);
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item i {
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-info-item .ci-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

.contact-info-item .ci-value {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.contact-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  font-size: 1.125rem;
  transition: var(--transition);
}

.contact-social a:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

/* Form */
.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-card > p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

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

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

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

.form-group label .required {
  color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: var(--color-white);
  color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(12,74,142,0.1);
}

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

.form-group .error-msg {
  display: none;
  font-size: 0.8125rem;
  color: #e53e3e;
  margin-top: 6px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e53e3e;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-success {
  display: none;
  padding: 16px 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  color: #15803d;
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.form-success.show {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Map */
.map-wrapper {
  margin-top: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.map-wrapper iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1' opacity='0.04'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3Cpath d='M0 0l80 80M80 0L0 80'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-brand .brand-name span {
  color: var(--color-accent);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 300px;
}

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

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

.footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact li i {
  color: var(--color-accent);
  font-size: 0.875rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact li span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

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

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

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

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

/* ================================
   ANIMATIONS
   ================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ================================
   BACK TO TOP
   ================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
}

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

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-4px);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .hero-content h1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

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

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

  /* Mobile nav */
  .navbar-toggle {
    display: flex;
  }

  .navbar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 24px;
    gap: 0;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    z-index: 999;
  }

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

  .navbar-nav .nav-link {
    padding: 14px 16px;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
  }

  .navbar-cta {
    margin: 16px 0 0;
  }

  .navbar-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .navbar.scrolled .navbar-toggle span {
    background: var(--color-dark);
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

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

  .hero-shape {
    display: none;
  }

  /* Page header */
  .page-header {
    padding: 120px 0 60px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  /* Split section */
  .split-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split-section.reverse .split-image {
    order: 0;
  }

  .split-content h2 {
    font-size: 1.75rem;
  }

  .split-image .img-card {
    height: 300px;
  }

  .split-image .img-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stat-item .stat-number {
    font-size: 2.25rem;
  }

  /* Contact */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-section h2 {
    font-size: 1.875rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Products grid */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline {
    padding-left: 24px;
  }

  .timeline-item::before {
    left: -32px;
  }

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

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .container {
    padding: 0 16px;
  }

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

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