/* ============================================
   Si Rui — 福建思锐信息技术有限公司
   Design #13: Magenta + Gold
   ============================================ */

/* --- CSS Variables --- */
:root {
  --magenta: #831843;
  --magenta-light: #9d174d;
  --magenta-soft: #fce7f3;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-soft: #fef3c7;
  --pink: #f472b6;
  --pink-soft: #fdf2f8;
  --cream: #fff7ed;
  --bg: #ffffff;
  --text-primary: #1c1917;
  --text-secondary: #44403c;
  --text-muted: #78716c;
  --border-light: #e7e5e4;
  --border-strong: #d6d3d1;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.10);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', monospace;
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Glide Animation --- */
.glide {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--magenta);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .zh {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  position: relative;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text-primary);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: var(--magenta);
}

/* ============================================
   HERO — Bento Grid
   ============================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  background: var(--bg);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.hero-left {
  flex: 0 0 45%;
  padding-right: 16px;
}

.hero-badge {
  display: inline-block;
  background: var(--cream);
  color: var(--magenta);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--magenta);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-underline {
  width: 80px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 440px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 4px 16px rgba(131, 24, 67, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--magenta-light);
  box-shadow: 0 6px 22px rgba(131, 24, 67, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--magenta);
  border: 2px solid var(--gold);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--gold-soft);
  border-color: var(--gold-light);
}

/* Bento Grid — Right 55% */
.hero-right {
  flex: 0 0 55%;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
  aspect-ratio: 1.2 / 1;
}

.bento-card {
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  transition: opacity 0.3s ease;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card:hover {
  box-shadow: var(--shadow-md);
}

.bento-card .bento-icon {
  font-size: 2.2rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.bento-card .bento-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}

/* Bento card placement & colors */
.bc-1 {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  background: linear-gradient(135deg, #fce7f3 0%, #fdf2f8 100%);
  border-color: #fbcfe8;
}
.bc-2 {
  grid-column: 3 / 5;
  grid-row: 1 / 2;
  background: var(--bg);
  border-color: var(--border-light);
}
.bc-3 {
  grid-column: 5 / 7;
  grid-row: 1 / 3;
  background: linear-gradient(135deg, #fef3c7 0%, #fff7ed 100%);
  border-color: #fde68a;
}
.bc-4 {
  grid-column: 3 / 5;
  grid-row: 2 / 3;
  background: var(--bg);
  border-color: var(--border-strong);
}
.bc-5 {
  grid-column: 1 / 4;
  grid-row: 3 / 5;
  background: var(--bg);
  border-color: var(--border-light);
}
.bc-6 {
  grid-column: 4 / 7;
  grid-row: 2 / 5;
  background: linear-gradient(135deg, #fce7f3 0%, #fef3c7 100%);
  border-color: #fde68a;
}

/* ============================================
   SERVICES — Process Timeline
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 80px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    var(--gold) 0%,
    var(--gold) 20%,
    var(--border-strong) 20%,
    var(--border-strong) 100%);
  border-radius: 1px;
}

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

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

.timeline-step {
  position: absolute;
  left: -80px;
  top: 0;
  width: 70px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.timeline-dot {
  position: absolute;
  left: -51px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border: 3px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold-soft);
  z-index: 2;
}

.timeline-content {
  padding-left: 16px;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
}

/* ============================================
   ABOUT — Partner Logo Bar
   ============================================ */
.about {
  padding: 80px 0;
  background: var(--bg);
}

.partner-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.partner-badge {
  padding: 14px 26px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  letter-spacing: 0.01em;
}

.partner-badge:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.partner-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.partner-note strong {
  color: var(--magenta);
  font-weight: 700;
}

/* ============================================
   INDUSTRIES — Large Icon Grid
   ============================================ */
.industries {
  padding: 100px 0;
  background: var(--cream);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.industry-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  text-align: center;
  border-top: 4px solid var(--magenta);
  box-shadow: var(--shadow-sm);
}

.industry-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 16px;
}

.industry-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.industry-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   APPROACH — Circular Progress Steps
   ============================================ */
.approach {
  padding: 100px 0;
  background: var(--bg);
}

.progress-rings {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 200px;
}

.progress-ring-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 20px;
}

.progress-ring-bg {
  fill: none;
  stroke: var(--border-light);
  stroke-width: 6;
}

.progress-ring-fill {
  fill: none;
  stroke: var(--magenta);
  stroke-width: 6;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.progress-step-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--magenta);
}

.progress-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.progress-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   CONTACT — Multi-Step Form
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--cream);
}

.form-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

/* Step Dots */
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background 0.3s ease, transform 0.3s ease;
}

.step-dot.active {
  background: var(--magenta);
  transform: scale(1.2);
}

.step-dot.done {
  background: var(--gold);
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #dc2626;
}

.form-error {
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

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

.form-select {
  appearance: none;
  -webkit-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='%2378716c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Review Summary */
.review-summary {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.review-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.925rem;
}

.review-item:last-child {
  border-bottom: none;
}

.review-label {
  font-weight: 600;
  color: var(--text-secondary);
}

.review-value {
  color: var(--text-primary);
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}

/* Form Navigation */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.btn-back {
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 50px;
  transition: color 0.2s ease, background 0.2s ease;
}

.btn-back:hover,
.btn-back:focus-visible {
  color: var(--text-primary);
  background: var(--border-light);
}

.btn-next,
.btn-submit {
  background: var(--magenta);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 50px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-next:hover,
.btn-submit:hover,
.btn-next:focus-visible,
.btn-submit:focus-visible {
  background: var(--magenta-light);
}

.btn-submit {
  background: var(--gold);
  color: var(--text-primary);
}

.btn-submit:hover,
.btn-submit:focus-visible {
  background: var(--gold-light);
}

/* Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 20px;
}

.form-success.active {
  display: block;
}

.form-success .success-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.form-success .success-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-success .success-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ============================================
   CTA — Rating Stars + Review
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-stars {
  font-size: 2.2rem;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1;
}

.cta-rating-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.cta-review {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 28px;
  position: relative;
}

.cta-review::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.cta-review-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.cta-review-author {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  font-style: normal;
}

.cta-review-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  font-style: normal;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--text-primary);
  color: #d6d3d1;
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand .logo .zh {
  color: #a8a29e;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #a8a29e;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #a8a29e;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #292524;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #78716c;
}

.footer-bottom a {
  color: #a8a29e;
  transition: color 0.2s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff;
}

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

/* ============================================
   PRIVACY & TERMS PAGES
   ============================================ */
.doc-page {
  padding: 120px 0 80px;
}

.doc-container {
  max-width: 760px;
  margin: 0 auto;
}

.doc-container h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--magenta);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.doc-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.doc-section {
  margin-bottom: 32px;
}

.doc-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.doc-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 10px;
}

.doc-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 10px;
}

.doc-section ul li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 4px;
}

.doc-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.doc-footer strong {
  color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    gap: 40px;
  }

  .hero-left {
    flex: 0 0 auto;
    text-align: center;
    padding-right: 0;
    max-width: 560px;
  }

  .hero-underline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-right {
    flex: 0 0 auto;
    width: 100%;
    max-width: 560px;
  }

  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    aspect-ratio: 1 / 1;
    gap: 8px;
  }

  .bc-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
  .bc-2 { grid-column: 3 / 5; grid-row: 1 / 2; }
  .bc-3 { grid-column: 1 / 2; grid-row: 2 / 4; }
  .bc-4 { grid-column: 2 / 5; grid-row: 2 / 3; }
  .bc-5 { grid-column: 2 / 4; grid-row: 3 / 4; }
  .bc-6 { grid-column: 4 / 5; grid-row: 3 / 5; }

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

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

  .progress-rings {
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero .container {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-right {
    max-width: 100%;
  }

  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    aspect-ratio: 3 / 4;
    gap: 6px;
  }

  .bento-card {
    border-radius: var(--radius-md);
  }

  .bento-card .bento-icon {
    font-size: 1.6rem;
  }

  .bento-card .bento-label {
    font-size: 0.55rem;
  }

  .bc-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
  .bc-2 { grid-column: 2 / 4; grid-row: 1 / 2; }
  .bc-3 { grid-column: 1 / 3; grid-row: 3 / 4; }
  .bc-4 { grid-column: 3 / 4; grid-row: 3 / 4; }
  .bc-5 { grid-column: 1 / 2; grid-row: 4 / 5; }
  .bc-6 { grid-column: 2 / 4; grid-row: 4 / 5; }

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

  .timeline::before {
    left: 25px;
  }

  .timeline-step {
    left: -60px;
    width: 50px;
    font-size: 1.3rem;
  }

  .timeline-dot {
    left: -38px;
    width: 12px;
    height: 12px;
  }

  /* Industry grid */
  .industry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .industry-card {
    padding: 24px 16px 20px;
  }

  .industry-icon {
    font-size: 2.4rem;
  }

  /* Progress rings */
  .progress-rings {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .progress-item {
    max-width: 260px;
  }

  /* Form */
  .form-card {
    padding: 28px 20px;
  }

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

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

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

  .services,
  .industries,
  .approach,
  .contact {
    padding: 64px 0;
  }

  .doc-page {
    padding: 100px 0 60px;
  }

  .doc-container h1 {
    font-size: 1.5rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .partner-badges {
    gap: 8px;
  }

  .partner-badge {
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  .industry-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-nav {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .btn-back,
  .btn-next,
  .btn-submit {
    width: 100%;
    text-align: center;
  }
}

/* --- Focus visible --- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .glide {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
