/* ============================================================
   Liao Dong Tech — Main Stylesheet
   澄迈廖东军科技有限公司
   STRONG CONTRAST — No rgba() text colors anywhere
   ============================================================ */

/* ---------- CSS Custom Properties (NO rgba) ---------- */
:root {
  /* Primary palette */
  --navy-deep: #0d1542;
  --navy: #1a237e;
  --navy-mid: #283593;
  --navy-light: #3f51b5;
  --indigo: #3949ab;
  --indigo-light: #5c6bc0;

  /* Accent */
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --gold: #fbbf24;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-50: #f0f1f5;
  --gray-100: #e2e4eb;
  --gray-200: #c5c8d4;
  --gray-300: #a8acbd;
  --gray-400: #8b90a6;
  --gray-500: #6e748f;
  --gray-600: #515878;
  --gray-700: #343c61;
  --gray-800: #1e2444;
  --gray-900: #0f1326;
  --black: #000000;

  /* Semantic */
  --text-primary: #0f1326;
  --text-secondary: #343c61;
  --text-muted: #515878;
  --text-on-dark: #ffffff;
  --text-on-accent: #0f1326;

  --bg-primary: #ffffff;
  --bg-alt: #f0f1f5;
  --bg-dark: #0d1542;
  --bg-card: #ffffff;
  --bg-hero: #f0f1f5;

  --border-color: #c5c8d4;
  --border-light: #e2e4eb;
  --border-focus: #1a237e;

  --success: #16a34a;
  --error: #dc2626;
  --warning: #d97706;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', 'Liberation Mono', monospace;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Layout */
  --max-width: 1200px;
  --max-width-legal: 800px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows (no rgba — using opacity layers via filter is also avoided; use solid shadows) */
  --shadow-card: 0 1px 3px #0000001a, 0 1px 2px #0000000f;
  --shadow-elevated: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000000f;
  --shadow-xl: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000000f;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--navy-light);
  text-decoration: underline;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

strong {
  font-weight: 700;
  color: var(--text-primary);
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--navy);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: var(--space-sm);
  color: var(--white);
  text-decoration: none;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---------- SECTION ---------- */
.section {
  padding: var(--space-4xl) 0;
}
.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: #e8eaf6;
  padding: var(--space-xs) var(--space-md);
  border-radius: 999px;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
}
.btn:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}
.btn-full {
  width: 100%;
}

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

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

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--off-white);
  color: var(--navy-deep);
}

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

/* ---------- HEADER / NAVIGATION ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}
.logo:hover {
  text-decoration: none;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  transition: width var(--transition-base);
}
.nav-link:hover {
  color: var(--navy);
  text-decoration: none;
}
.nav-link:hover::after {
  width: 100%;
}

.btn-header {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}
.mobile-toggle:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Hamburger open state */
.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  background: var(--bg-hero);
  padding: var(--space-4xl) 0 var(--space-3xl);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  pointer-events: none;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: #e8eaf6;
  border: 1px solid #c5cae9;
  padding: var(--space-xs) var(--space-md);
  border-radius: 999px;
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero-highlight {
  display: block;
  color: var(--navy);
  position: relative;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--amber);
  opacity: 0.35;
  z-index: -1;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.hero-metrics {
  display: flex;
  gap: var(--space-3xl);
  justify-content: center;
  flex-wrap: wrap;
}

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

.metric-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.metric-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.service-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8eaf6;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.service-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: var(--space-lg);
  position: relative;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

/* ---------- ABOUT SECTION ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-content .section-tag {
  margin-bottom: var(--space-md);
}
.about-content .section-title {
  text-align: left;
  margin-bottom: var(--space-md);
}
.about-content .section-description {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  margin-bottom: var(--space-md);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.value-item {
  padding: var(--space-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.value-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.value-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.about-card-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.about-card-primary .about-stat-number,
.about-card-primary .about-stat-label,
.about-card-primary .about-stat-desc {
  color: var(--white);
}

.about-card-secondary {
  background: var(--white);
}

.about-card-accent {
  background: var(--amber);
  border-color: var(--amber);
}
.about-card-accent .about-stat-number,
.about-card-accent .about-stat-label,
.about-card-accent .about-stat-desc {
  color: var(--text-primary);
}

.about-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-stat-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: var(--space-xs);
}
.about-card-primary .about-stat-label {
  color: var(--gray-200);
}

.about-stat-desc {
  margin-top: var(--space-sm);
  font-size: 0.82rem;
}
.about-card-primary .about-stat-desc {
  color: var(--gray-300);
}
.about-card-secondary .about-stat-desc {
  color: var(--text-muted);
}

/* ---------- PROCESS SECTION ---------- */
.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 34px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.process-step {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-marker {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 8px var(--border-color);
}

.process-number {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-mono);
}

.process-body {
  padding-top: var(--space-sm);
}

.process-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.process-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- INDUSTRIES GRID ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: box-shadow var(--transition-base);
}
.industry-card:hover {
  box-shadow: var(--shadow-elevated);
}

.industry-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8eaf6;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.industry-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.industry-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- STATS SECTION ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* ---------- CONTACT SECTION ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info .section-tag {
  margin-bottom: var(--space-md);
}
.contact-info .section-title {
  text-align: left;
  margin-bottom: var(--space-md);
}
.contact-info .section-description {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  margin-bottom: var(--space-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.contact-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.required {
  color: var(--error);
}

.form-input {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}
.form-input::placeholder {
  color: var(--gray-300);
}
.form-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px #1a237e26;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23515878' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-input.input-error {
  border-color: var(--error);
}

.form-error {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--error);
  min-height: 0;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.form-error.visible {
  opacity: 1;
}

.btn-spinner {
  display: none;
  animation: spin 0.8s linear infinite;
}

.btn.is-loading .btn-text {
  visibility: hidden;
}
.btn.is-loading .btn-spinner {
  display: block;
  position: absolute;
}

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

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.form-disclaimer a {
  font-weight: 600;
}

.form-success {
  text-align: center;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.form-success[hidden] {
  display: none;
}
.form-success h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}
.form-success p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ---------- CTA SECTION ---------- */
.cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 700px;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-text {
  font-size: 1.1rem;
  color: var(--gray-100);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 320px;
  margin-top: var(--space-md);
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-300);
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-700);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.6;
}
.footer-copy strong {
  color: var(--gray-200);
}

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--gray-400);
}
.footer-contact-line a {
  color: var(--gray-300);
}
.footer-contact-line a:hover {
  color: var(--white);
}

.footer-sep {
  color: var(--gray-600);
}

.footer-logo .logo-name {
  color: var(--white);
}
.footer-logo .logo-subtitle {
  color: var(--gray-400);
}

/* ---------- LEGAL PAGES ---------- */
.legal-page {
  padding: var(--space-3xl) 0;
}
.legal-page h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-page p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.legal-page ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-page li {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xs);
}

.legal-container {
  max-width: var(--max-width-legal);
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-values {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-title {
    font-size: 2.5rem;
  }
}

/* Small tablet / large phone (≤768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-4xl: 64px;
    --space-3xl: 48px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  /* Mobile nav */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 96px var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    z-index: 1000;
  }
  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .nav-link {
    font-size: 1.05rem;
    padding: var(--space-sm) 0;
  }

  .btn-header {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-metrics {
    gap: var(--space-lg);
  }
  .metric-value {
    font-size: 1.75rem;
  }

  /* Grids */
  .services-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

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

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

  .process-timeline::before {
    left: 20px;
  }
  .process-marker {
    width: 42px;
    height: 42px;
    box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--border-color);
  }
  .process-number {
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-contact-line {
    justify-content: center;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 1.6rem;
  }

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

/* Phone (≤480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-title {
    font-size: 1.65rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .hero-metrics {
    gap: var(--space-md);
  }
  .hero-bg-pattern {
    display: none;
  }

  .section-title {
    font-size: 1.5rem;
  }

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

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

  .about-values {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
  }
  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }

  .process-timeline::before {
    left: 14px;
  }
  .process-marker {
    width: 30px;
    height: 30px;
    box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--border-color);
  }
  .process-number {
    font-size: 0.7rem;
  }
  .process-step {
    gap: var(--space-md);
  }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- PRINT ---------- */
@media print {
  .site-header,
  .mobile-toggle,
  .cta,
  .contact-form-wrapper,
  .skip-link {
    display: none !important;
  }
  body {
    font-size: 12pt;
    color: #000000;
    background: #ffffff;
  }
  a {
    color: #000000;
    text-decoration: underline;
  }
}
