/* ============================================================
  RONGWEN ZHIFENG CONSTRUCTION — MAIN STYLESHEET
  rwzf-bj.com | Version 1.0
  ============================================================ */

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

:root {
  --bg-primary: #050a12;
  --bg-secondary: #080f1a;
  --bg-card: #0a1525;
  --bg-card-hover: #0d1e35;
  --accent-blue: #0066CC;
  --accent-blue-light: #0099FF;
  --accent-green: #22CC66;
  --accent-gold: #FFB300;
  --text-primary: #FFFFFF;
  --text-secondary: #8899BB;
  --text-muted: #4A5D7A;
  --border-color: rgba(0, 102, 204, 0.2);
  --border-hover: rgba(0, 153, 255, 0.5);
  --glow-blue: 0 0 30px rgba(0, 102, 204, 0.3);
  --glow-green: 0 0 30px rgba(34, 204, 102, 0.3);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nav-height: 72px;
  --section-pad: 120px;
  --radius: 12px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Typography --- */
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; line-height: 1.1; letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.5px; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600; }
p { font-size: 1rem; line-height: 1.75; color: var(--text-secondary); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.7; color: var(--text-secondary); }

/* --- Grid & Layout --- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section { padding: var(--section-pad) 0; position: relative; }
.section-sm { padding: 80px 0; position: relative; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* --- Section Labels --- */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent-blue-light);
  margin-bottom: 20px;
}
.section-label::before {
  content: ''; display: block; width: 24px; height: 2px; background: var(--accent-blue-light);
}
.section-title { margin-bottom: 20px; }
.section-subtitle { max-width: 600px; margin-bottom: 60px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.text-center .section-label { justify-content: center; }
.text-center .section-label::before { display: none; }
.text-center .section-label::after {
  content: ''; display: block; width: 24px; height: 2px; background: var(--accent-blue-light);
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.5px;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--accent-blue); color: #fff;
  box-shadow: 0 4px 24px rgba(0, 102, 204, 0.4);
}
.btn-primary:hover { background: var(--accent-blue-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0, 102, 204, 0.6); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3); color: #fff;
  background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
}
.btn-outline:hover { border-color: var(--accent-blue-light); background: rgba(0, 153, 255, 0.1); transform: translateY(-2px); }
.btn-green { background: var(--accent-green); color: #001a0a; box-shadow: var(--glow-green); }
.btn-green:hover { background: #33DD77; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 10px 24px; font-size: 0.875rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background: rgba(5, 10, 18, 0.92);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(0, 102, 204, 0.15);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img, .nav-logo svg { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.8);
  transition: var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(0, 102, 204, 0.2); }
.nav-cta { margin-left: 16px; }
.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; transition: background 0.2s; }
.nav-toggle:hover { background: rgba(255,255,255,0.08); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* Mobile nav */
.nav-mobile { display: none; position: fixed; inset: 0; top: var(--nav-height); background: rgba(5,10,18,0.98); backdrop-filter: blur(30px); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { font-size: 1.2rem; padding: 14px 40px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--bg-primary);
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.hero-gradient {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(5,10,18,0.3) 0%, rgba(5,10,18,0.1) 40%, rgba(5,10,18,0.8) 80%, rgba(5,10,18,1) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent-blue-light); margin-bottom: 24px;
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-blue-light); animation: pulse-dot 2s infinite; }
.hero-title { margin-bottom: 28px; }
.hero-title .accent { color: var(--accent-blue-light); }
.hero-desc { font-size: 1.15rem; line-height: 1.8; color: rgba(255,255,255,0.7); max-width: 600px; margin-bottom: 44px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted);
  animation: bounce-scroll 2s ease-in-out infinite;
}
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent-blue), transparent); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-card); border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color); padding: 48px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 0 24px;
  border-right: 1px solid var(--border-color);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -2px; }
.stat-number .suffix { font-size: 1.6rem; font-weight: 700; color: var(--accent-blue-light); }
.stat-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }

/* ============================================================
   VALUE PROPS (3 Engines)
   ============================================================ */
.value-props { background: var(--bg-primary); }
.value-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 44px 36px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.value-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0, 102, 204, 0.15); }
.value-card:hover::before { opacity: 1; }
.value-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(0, 102, 204, 0.12); border: 1px solid rgba(0, 102, 204, 0.25);
  display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
  transition: var(--transition);
}
.value-card:hover .value-icon { background: rgba(0, 102, 204, 0.2); border-color: rgba(0, 153, 255, 0.4); box-shadow: var(--glow-blue); }
.value-icon svg { width: 32px; height: 32px; }
.value-card h3 { margin-bottom: 16px; }
.value-card p { font-size: 0.95rem; }

/* ============================================================
   CARDS — Generic
   ============================================================ */
.card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 36px 32px;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0, 102, 204, 0.12); }
.card-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.card-icon svg { width: 40px; height: 40px; }
.card h4 { margin-bottom: 12px; }
.card p { font-size: 0.9rem; line-height: 1.7; }
.card-number {
  font-size: 3.5rem; font-weight: 900; line-height: 1;
  color: rgba(0, 102, 204, 0.15); margin-bottom: 16px;
  font-family: var(--font-main);
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-hero { background: var(--bg-secondary); }
.service-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  padding: 100px 0; border-bottom: 1px solid var(--border-color);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-visual {
  border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 4/3; background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
}
.service-visual-inner { width: 100%; height: 100%; padding: 40px; }
.service-num { font-size: 6rem; font-weight: 900; color: rgba(0, 102, 204, 0.08); line-height: 1; margin-bottom: 8px; }
.service-tag {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  background: rgba(0, 102, 204, 0.15); border: 1px solid rgba(0, 102, 204, 0.3);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent-blue-light); margin-bottom: 20px;
}
.service-features { list-style: none; margin: 24px 0 36px; display: flex; flex-direction: column; gap: 12px; }
.service-features li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5;
}
.service-features li::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-blue-light); margin-top: 6px;
}

/* App features grid */
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.app-card {
  background: rgba(0, 102, 204, 0.07); border: 1px solid rgba(0, 102, 204, 0.15);
  border-radius: 10px; padding: 20px;
  transition: var(--transition);
}
.app-card:hover { background: rgba(0, 102, 204, 0.12); border-color: rgba(0, 153, 255, 0.3); }
.app-card-icon { width: 36px; height: 36px; margin-bottom: 12px; }
.app-card-icon svg { width: 36px; height: 36px; }
.app-card h5 { font-size: 0.875rem; font-weight: 700; margin-bottom: 6px; }
.app-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem; font-weight: 600; transition: var(--transition);
}
.store-badge:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }
.store-badge svg { width: 20px; height: 20px; }

/* ============================================================
   CAPABILITIES
   ============================================================ */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cap-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 44px;
  transition: var(--transition); position: relative;
}
.cap-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.cap-number {
  position: absolute; top: 28px; right: 32px;
  font-size: 4rem; font-weight: 900; color: rgba(0, 102, 204, 0.06);
  line-height: 1; pointer-events: none;
}
.cap-icon { width: 52px; height: 52px; margin-bottom: 24px; }
.cap-icon svg { width: 48px; height: 48px; }
.cap-card h3 { margin-bottom: 16px; font-size: 1.3rem; }
.cap-card p { font-size: 0.9rem; }

/* Progress bar */
.progress-item { margin-bottom: 20px; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.progress-track { height: 4px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light)); transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.progress-fill.animated { transform: scaleX(1); }

/* ============================================================
   CORPORATE CULTURE
   ============================================================ */
.culture-hero { overflow: hidden; }
.culture-hero-text { max-width: 700px; }
.belief-banner {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.12), rgba(0, 153, 255, 0.06));
  border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 60px; text-align: center; margin: 80px 0;
}
.belief-text { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 300; color: rgba(255,255,255,0.9); line-height: 1.5; }
.belief-text strong { font-weight: 700; color: #fff; }

.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vmv-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 44px 36px;
  transition: var(--transition);
}
.vmv-card:hover { border-color: var(--accent-blue); }
.vmv-label {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent-blue-light); margin-bottom: 20px;
}
.vmv-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; color: #fff; }
.vmv-card p { font-size: 0.875rem; }

.values-list { display: flex; flex-direction: column; gap: 24px; }
.value-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 32px; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: var(--radius);
  transition: var(--transition);
}
.value-item:hover { border-color: var(--border-hover); transform: translateX(8px); }
.value-item-num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0, 102, 204, 0.15); border: 1px solid rgba(0, 102, 204, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: var(--accent-blue-light);
}
.value-item-content h4 { margin-bottom: 8px; }
.value-item-content p { font-size: 0.9rem; margin: 0; }

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column;
}
.news-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0, 102, 204, 0.12); }
.news-card-img {
  aspect-ratio: 16/9; background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.news-card-img svg { width: 60px; height: 60px; opacity: 0.3; }
.news-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.news-tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(0, 102, 204, 0.15); color: var(--accent-blue-light);
  margin-bottom: 16px;
}
.news-card h4 { margin-bottom: 12px; font-size: 1.05rem; }
.news-card p { font-size: 0.875rem; flex: 1; }
.news-card-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.news-date { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.news-read { font-size: 0.78rem; font-weight: 700; color: var(--accent-blue-light); display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.news-card:hover .news-read { gap: 10px; }
.news-read svg { width: 14px; height: 14px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-block { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0, 102, 204, 0.12); border: 1px solid rgba(0, 102, 204, 0.25);
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 20px; height: 20px; color: var(--accent-blue-light); }
.contact-item-text strong { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-item-text span { font-size: 0.9rem; color: var(--text-secondary); }
.contact-item-text a { color: var(--accent-blue-light); transition: color 0.2s; }
.contact-item-text a:hover { color: #fff; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 10px; padding: 14px 18px;
  font-size: 0.9rem; color: #fff; font-family: var(--font-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--bg-card); }
.form-check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--text-secondary); }
.form-check input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent-blue); cursor: pointer; }
.form-check a { color: var(--accent-blue-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #030810; border-top: 1px solid var(--border-color);
  padding: 80px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; }
.footer-brand p { font-size: 0.875rem; margin: 20px 0 28px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: var(--transition);
}
.footer-social a:hover { border-color: var(--accent-blue-light); color: var(--accent-blue-light); background: rgba(0, 102, 204, 0.1); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h5 { font-size: 0.8rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li a { font-size: 0.875rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-col li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border-color); padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.8rem; color: var(--text-muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent-blue-light); }

/* ============================================================
   PRIVACY / TERMS PAGES
   ============================================================ */
.legal-page { padding-top: calc(var(--nav-height) + 80px); padding-bottom: 120px; }
.legal-header { margin-bottom: 60px; padding-bottom: 40px; border-bottom: 1px solid var(--border-color); }
.legal-date { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; margin-top: 12px; }
.legal-toc {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 32px; margin-bottom: 60px;
}
.legal-toc h4 { margin-bottom: 20px; }
.legal-toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-toc li a { font-size: 0.9rem; color: var(--accent-blue-light); transition: color 0.2s; }
.legal-toc li a:hover { color: #fff; }
.legal-section { margin-bottom: 60px; scroll-margin-top: 100px; }
.legal-section h2 { font-size: 1.8rem; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border-color); }
.legal-section h3 { font-size: 1.2rem; margin: 28px 0 16px; color: rgba(255,255,255,0.9); }
.legal-section p { margin-bottom: 16px; font-size: 0.9rem; line-height: 1.8; }
.legal-section ul, .legal-section ol { padding-left: 24px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.legal-section li { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.legal-section strong { color: rgba(255,255,255,0.9); }
.legal-highlight {
  background: rgba(0, 102, 204, 0.08); border-left: 3px solid var(--accent-blue);
  border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 20px 0;
}
.legal-highlight p { margin: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.875rem; }
.legal-table th { text-align: left; padding: 12px 16px; background: rgba(0, 102, 204, 0.12); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.5px; color: var(--accent-blue-light); }
.legal-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); vertical-align: top; }
.legal-table tr:last-child td { border-bottom: none; }

/* ============================================================
   MISC / UTILITY
   ============================================================ */
.divider { height: 1px; background: var(--border-color); margin: 60px 0; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
}
.badge-blue { background: rgba(0, 102, 204, 0.15); border: 1px solid rgba(0, 102, 204, 0.3); color: var(--accent-blue-light); }
.badge-green { background: rgba(34, 204, 102, 0.12); border: 1px solid rgba(34, 204, 102, 0.3); color: var(--accent-green); }
.badge-gold { background: rgba(255, 179, 0, 0.12); border: 1px solid rgba(255, 179, 0, 0.3); color: var(--accent-gold); }

/* Dark overlay section */
.section-dark { background: var(--bg-secondary); }
.section-darker { background: #030810; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 66, 153, 0.4) 0%, rgba(0, 30, 80, 0.6) 100%);
  border: 1px solid rgba(0, 102, 204, 0.3); border-radius: 20px;
  padding: 80px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 153, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { max-width: 500px; margin: 0 auto 40px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Certificates row */
.cert-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.cert-item {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 10px; padding: 12px 20px;
  font-size: 0.8rem; font-weight: 700; color: var(--text-secondary);
  display: flex; align-items: center; gap: 10px;
  transition: var(--transition);
}
.cert-item:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.cert-item svg { width: 20px; height: 20px; }

/* Scroll reveal default state */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(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; }

/* Page header for inner pages */
.page-header {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px; position: relative; overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 102, 204, 0.15) 0%, transparent 60%);
}
.page-header-content { position: relative; z-index: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-block { grid-template-columns: 1fr; gap: 40px; }
  .service-block.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .vmv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-pad: 80px; }
  .container { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-color); padding: 24px; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .hero-actions { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .vmv-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .btn { padding: 14px 24px; font-size: 0.875rem; }
  .cta-banner { padding: 32px 20px; }
  .hero { min-height: 600px; }
}
