/*
 * Choice Flow — Asymmetric Precision Design System
 * Chengdu Maizeluo Network Technology Co., Ltd.
 * choiceflow.lat
 */

/* ===== CSS Custom Properties ===== */
:root {
  --bg-deep: #080c1a;
  --bg-surface: #0d1130;
  --bg-elevated: #131840;
  --bg-input: #0a0e24;
  --text-primary: #ffffff;
  --text-secondary: #b8c0e0;
  --text-inverse: #080c1a;
  --accent-amber: #f0b429;
  --accent-amber-hover: #c7911f;
  --accent-cyan: #0ea5e9;
  --accent-cyan-dim: #0b85bf;
  --border-default: #1c2350;
  --border-strong: #2a3470;
  --border-accent: #f0b429;
  --status-error: #ef4444;
  --status-success: #22c55e;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --sidebar-width: 80px;
  --max-width: 1200px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-amber);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-amber-hover);
  text-decoration: underline;
}

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

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ===== Focus Styles ===== */
:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ===== Selection ===== */
::selection {
  background: var(--accent-amber);
  color: var(--text-inverse);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-amber);
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent-amber);
  color: var(--text-inverse);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

/* ===== Sidebar Navigation ===== */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-surface);
  border-right: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  z-index: 1000;
}

.sidebar-logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-amber);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.sidebar-logo svg {
  width: 28px;
  height: 28px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  writing-mode: horizontal-tb;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--accent-amber);
  background: var(--bg-elevated);
  text-decoration: none;
}

.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: var(--accent-amber);
  border-radius: 0 2px 2px 0;
}

.sidebar-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--status-success);
  flex-shrink: 0;
  position: relative;
}

.sidebar-status::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--status-success);
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

/* ===== Main Content Area ===== */
.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  padding: 120px 64px 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 32px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent-amber);
}

.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.hero-title-mark {
  position: relative;
  display: inline;
}

.hero-title-mark::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-amber);
  z-index: -1;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 40px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-amber);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background: var(--accent-amber-hover);
  color: var(--text-inverse);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 180, 41, 0.3);
}

.btn-outline {
  border: 2px solid var(--border-strong);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-outline:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shape-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
}

.hero-shape {
  position: absolute;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow);
}

.hero-shape:hover {
  transform: scale(1.05);
}

.hero-shape-1 {
  top: 10%;
  left: 0;
  width: 55%;
  height: 55%;
  background: var(--accent-amber);
  z-index: 3;
}

.hero-shape-2 {
  top: 25%;
  right: 0;
  width: 60%;
  height: 60%;
  background: var(--bg-elevated);
  border: 2px solid var(--border-strong);
  z-index: 2;
}

.hero-shape-3 {
  bottom: 5%;
  left: 15%;
  width: 45%;
  height: 45%;
  background: var(--accent-cyan);
  z-index: 1;
}

.hero-dots {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--border-strong) 2px, transparent 2px);
  background-size: 16px 16px;
  z-index: 0;
}

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

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 20px;
}

.section-label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent-amber);
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== Services Section ===== */
.services {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-card {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-default);
  transition: all var(--transition-base);
  cursor: default;
}

.service-card:last-child {
  border-bottom: none;
}

.service-card:hover {
  background: var(--bg-elevated);
  margin: 0 -32px;
  padding-left: 32px;
  padding-right: 32px;
  border-radius: var(--radius-md);
  border-bottom-color: transparent;
}

.service-card:hover + .service-card {
  border-top-color: transparent;
}

.service-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 2px;
}

.service-info h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.service-info p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-deep);
  border: 1px solid var(--border-default);
  transition: all var(--transition-base);
  justify-self: end;
}

.service-card:hover .service-icon {
  border-color: var(--accent-amber);
  background: var(--accent-amber);
  color: var(--text-inverse);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-amber);
  transition: color var(--transition-base);
}

.service-card:hover .service-icon svg {
  color: var(--text-inverse);
}

/* ===== Stats Section ===== */
.stats {
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-card {
  background: var(--bg-surface);
  padding: 56px 40px;
  text-align: center;
  transition: background var(--transition-base);
}

.stat-card:hover {
  background: var(--bg-elevated);
}

.stat-number {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--accent-amber);
  margin-bottom: 12px;
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.stat-divider {
  display: none;
}

/* ===== About Section ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  background: var(--accent-amber);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-card h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.about-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 40px;
}

.highlight-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-default);
  align-items: center;
}

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

.highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-amber);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
}

.highlight-text h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.highlight-text p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ===== Contact Section ===== */
.contact {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-default);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-detail {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-default);
  align-items: center;
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  font-weight: 700;
  font-size: 14px;
}

.contact-detail-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 16px;
  font-weight: 600;
}

.contact-form-wrapper {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
}

.contact-form-wrapper::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -8px;
  width: 100%;
  height: 100%;
  background: var(--accent-cyan);
  border-radius: var(--radius-lg);
  z-index: -1;
}

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

.form-group:last-of-type {
  margin-bottom: 32px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 16px;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-amber);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #4a5080;
}

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

.form-error {
  font-size: 13px;
  color: var(--status-error);
  margin-top: 6px;
  font-weight: 600;
  display: none;
}

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

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

.form-success {
  display: none;
  padding: 24px;
  background: var(--bg-deep);
  border: 1px solid var(--status-success);
  border-radius: var(--radius-md);
  text-align: center;
}

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

.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--status-success);
  color: var(--text-inverse);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
}

.form-success h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 15px;
  color: var(--text-secondary);
}

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

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== Footer ===== */
.footer {
  padding: 64px;
  border-top: 1px solid var(--border-default);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  align-items: start;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-amber);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg {
  width: 20px;
  height: 20px;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.footer-brand p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-brand address {
  font-style: normal;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-amber);
  text-decoration: none;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border-default);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

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

.footer-legal a {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-legal a:hover {
  color: var(--accent-amber);
}

/* ===== Animations ===== */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }
.delay-5 { transition-delay: 500ms; }

/* ===== Policy Pages ===== */
.policy-page {
  padding: 80px 64px;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
}

.policy-container h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.policy-meta {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-default);
}

.policy-container h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.policy-container p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.policy-container ul,
.policy-container ol {
  list-style: disc;
  padding-left: 24px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.policy-container ul ul,
.policy-container ol ol {
  list-style: circle;
  margin-bottom: 0;
}

.policy-container li {
  margin-bottom: 8px;
}

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

.policy-container a {
  color: var(--accent-amber);
  font-weight: 600;
}

.policy-address {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
  font-style: normal;
}

.policy-address p {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.policy-address p:last-child {
  margin-bottom: 0;
}

/* ===== Mobile Navigation ===== */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .hero {
    padding: 40px 24px 80px;
    min-height: auto;
  }

  .hero-shape-container {
    max-width: 280px;
  }

  .section {
    padding: 80px 24px;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 0;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform var(--transition-base);
  }

  .sidebar.open {
    transform: translateX(0);
    width: 240px;
  }

  .main-content {
    margin-left: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-title {
    font-size: 40px;
  }

  .section {
    padding: 60px 20px;
  }

  .service-card {
    grid-template-columns: 40px 1fr 56px;
    gap: 16px;
    padding: 28px 0;
  }

  .service-card:hover {
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-info h3 {
    font-size: 20px;
  }

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

  .stat-card {
    padding: 40px 24px;
  }

  .about-card {
    padding: 32px;
  }

  .contact-form-wrapper {
    padding: 32px;
  }

  .policy-page {
    padding: 60px 20px;
  }

  .footer {
    padding: 48px 20px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

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

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

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

  .service-number {
    order: -1;
  }

  .service-icon {
    justify-self: start;
  }
}
