/* ==========================================================================
   Mei Jia Health Technology — Memphis Modern Design System
   Colors: solid hex only, no rgba for text
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Inter:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --bg: #FFF8F0;
  --surface: #FFFFFF;
  --alt: #FFF0E6;
  --text: #1A1A2E;
  --secondary: #4A4A6A;
  --muted: #8A8AAA;
  --pink: #FF6B6B;
  --teal: #4ECDC4;
  --yellow: #FFE66D;
  --purple: #A855F7;
  --dark: #1A1A2E;
  --dark-text: #FFF8F0;
  --border: #E8DDD0;

  --font-heading: 'Fredoka One', cursive;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

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

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

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

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--secondary);
  max-width: 600px;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--pink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--secondary);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--pink);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.25s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--pink) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--purple) !important;
  color: #fff !important;
}

.nav-cta::after {
  display: none !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Decorative shapes */
.hero-deco-circle {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: #FF6B6B;
  opacity: 0.08;
  z-index: 1;
}

.hero-deco-triangle {
  position: absolute;
  bottom: 40px;
  left: 10%;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid #4ECDC4;
  opacity: 0.1;
  z-index: 1;
}

.hero-deco-dots {
  position: absolute;
  top: 60px;
  left: 5%;
  z-index: 1;
  opacity: 0.12;
}

.hero-deco-dots svg {
  width: 120px;
  height: 120px;
}

.hero-deco-squiggle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.hero-deco-squiggle svg {
  width: 100%;
  height: 60px;
}

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

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-heading em {
  font-style: normal;
  color: var(--pink);
  position: relative;
}

.hero-squiggle-underline {
  display: block;
  margin-top: -8px;
  margin-bottom: 8px;
}

.hero-squiggle-underline svg {
  width: 220px;
  height: 20px;
}

.hero-text {
  font-size: 1.125rem;
  color: var(--secondary);
  margin-bottom: 36px;
  max-width: 480px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.btn-primary:hover {
  background: #FF5252;
  border-color: #FF5252;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

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

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

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

.hero-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  box-shadow: 0 20px 60px rgba(26, 26, 46, 0.06);
}

.hero-card-geo {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.geo-shape {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.geo-shape.circle {
  background: #FFE0E0;
  border-radius: 50%;
}

.geo-shape.triangle {
  background: #D4F8F6;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-radius: 0;
}

.geo-shape.diamond {
  background: #EDE0FF;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  border-radius: 0;
}

.geo-shape.square {
  background: #FFF4CC;
  border-radius: 12px;
}

.hero-card-label {
  text-align: center;
  margin-top: 24px;
  font-weight: 600;
  color: var(--secondary);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  padding: 100px 0;
  background: var(--surface);
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-label {
  color: var(--teal);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26, 26, 46, 0.08);
}

/* Zigzag top border per card */
.service-card:nth-child(1) {
  border-top: 6px solid transparent;
  border-image: repeating-linear-gradient(
    90deg,
    var(--pink) 0px,
    var(--pink) 12px,
    transparent 12px,
    transparent 24px
  ) 6;
}

.service-card:nth-child(2) {
  border-top: 6px solid transparent;
  border-image: repeating-linear-gradient(
    90deg,
    var(--teal) 0px,
    var(--teal) 12px,
    transparent 12px,
    transparent 24px
  ) 6;
}

.service-card:nth-child(3) {
  border-top: 6px solid transparent;
  border-image: repeating-linear-gradient(
    90deg,
    var(--purple) 0px,
    var(--purple) 12px,
    transparent 12px,
    transparent 24px
  ) 6;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card:nth-child(1) .service-icon {
  background: #FFE0E0;
  color: var(--pink);
}

.service-card:nth-child(2) .service-icon {
  background: #D4F8F6;
  color: #3DBDB5;
}

.service-card:nth-child(3) .service-icon {
  background: #EDE0FF;
  color: var(--purple);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  color: var(--secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  padding: 100px 0;
  position: relative;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-content {
  position: relative;
  padding: 40px;
  border: 2px dashed var(--border);
  border-radius: 24px;
}

/* Dotted pattern corners */
.about-content::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 24px;
  background-image: radial-gradient(circle, var(--pink) 2px, transparent 2px);
  background-size: 20px 20px;
  background-position: 10px 10px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.about-content > * {
  position: relative;
  z-index: 1;
}

.pull-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 24px;
}

.squiggle-underline {
  display: block;
  margin: 8px 0 20px;
}

.squiggle-underline svg {
  width: 180px;
  height: 14px;
}

.about-body {
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.about-body p + p {
  margin-top: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card:nth-child(1) .stat-number { color: var(--pink); }
.stat-card:nth-child(2) .stat-number { color: var(--teal); }
.stat-card:nth-child(3) .stat-number { color: var(--yellow); }
.stat-card:nth-child(4) .stat-number { color: var(--purple); }

.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

/* ==========================================================================
   METRICS
   ========================================================================== */
.metrics {
  padding: 80px 0;
  background: var(--alt);
}

.metrics-header {
  text-align: center;
  margin-bottom: 56px;
}

.metrics-header .section-label {
  color: var(--purple);
}

.metrics-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

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

.metric-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: #fff;
  position: relative;
  transition: transform 0.3s;
}

.metric-circle:hover {
  transform: scale(1.08);
}

.metric-circle.pink   { background: var(--pink); }
.metric-circle.teal   { background: var(--teal); }
.metric-circle.yellow { background: #E8C84A; }
.metric-circle.purple { background: var(--purple); }

.metric-label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9375rem;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process {
  padding: 100px 0;
  background: var(--surface);
}

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

.process-header .section-label {
  color: var(--pink);
}

.process-steps {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}

/* Dotted connector */
.process-steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 3px;
  background-image: radial-gradient(circle, var(--muted) 2px, transparent 2px);
  background-size: 16px 16px;
  background-repeat: repeat-x;
  background-position: center;
  z-index: 0;
  opacity: 0.3;
}

.process-step {
  position: relative;
  z-index: 1;
  width: 220px;
  padding: 40px 24px 32px;
  border-radius: 20px;
  color: #fff;
  text-align: center;
  transition: transform 0.3s;
}

.process-step:hover {
  transform: translateY(-6px) rotate(0deg) !important;
}

.process-step:nth-child(1) {
  background: var(--pink);
  transform: rotate(-2deg);
}

.process-step:nth-child(2) {
  background: var(--teal);
  transform: rotate(1.5deg);
}

.process-step:nth-child(3) {
  background: #E8C84A;
  color: var(--text);
  transform: rotate(-1deg);
}

.process-step:nth-child(4) {
  background: var(--purple);
  transform: rotate(2deg);
}

.process-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.875rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* ==========================================================================
   EXPERTISE
   ========================================================================== */
.expertise {
  padding: 80px 0;
  background: var(--bg);
}

.expertise-header {
  text-align: center;
  margin-bottom: 48px;
}

.expertise-header .section-label {
  color: var(--teal);
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.expertise-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  background: var(--surface);
  transition: all 0.25s;
  color: var(--secondary);
}

.expertise-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.06);
}

.geo-marker {
  font-size: 0.625rem;
  display: inline-flex;
  align-items: center;
  width: 18px;
  height: 18px;
}

.expertise-tag:nth-child(1) { border-color: var(--pink); }
.expertise-tag:nth-child(1) .geo-marker { color: var(--pink); }
.expertise-tag:nth-child(2) { border-color: var(--teal); }
.expertise-tag:nth-child(2) .geo-marker { color: var(--teal); }
.expertise-tag:nth-child(3) { border-color: var(--purple); }
.expertise-tag:nth-child(3) .geo-marker { color: var(--purple); }
.expertise-tag:nth-child(4) { border-color: #FFB347; }
.expertise-tag:nth-child(4) .geo-marker { color: #FFB347; }
.expertise-tag:nth-child(5) { border-color: var(--pink); }
.expertise-tag:nth-child(5) .geo-marker { color: var(--pink); }
.expertise-tag:nth-child(6) { border-color: var(--teal); }
.expertise-tag:nth-child(6) .geo-marker { color: var(--teal); }
.expertise-tag:nth-child(7) { border-color: var(--purple); }
.expertise-tag:nth-child(7) .geo-marker { color: var(--purple); }
.expertise-tag:nth-child(8) { border-color: #FFB347; }
.expertise-tag:nth-child(8) .geo-marker { color: #FFB347; }

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 100px 0;
  background: var(--pink);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Floating decorative shapes */
.cta-section::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 10%;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(255, 255, 255, 0.08);
  z-index: 1;
}

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

.cta-section .section-title {
  color: #fff;
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 36px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  border-radius: 50px;
  background: #fff;
  color: var(--pink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: var(--dark-text);
  padding: 72px 0 32px;
}

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

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  background: var(--pink);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col h4::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.footer-col:nth-child(2) h4::before { background: var(--pink); }
.footer-col:nth-child(3) h4::before { background: var(--teal); }
.footer-col:nth-child(4) h4::before { background: var(--yellow); }

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: var(--muted);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--pink);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  transition: color 0.2s;
}

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

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

/* ==========================================================================
   PRIVACY / TERMS SHARED STYLES
   ========================================================================== */
.legal-hero {
  background: var(--dark);
  color: var(--dark-text);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.12);
  z-index: 1;
}

.legal-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 15%;
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 80px solid rgba(78, 205, 196, 0.1);
  z-index: 1;
}

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

.legal-hero .section-title {
  color: var(--dark-text);
}

.legal-hero .section-subtitle {
  color: var(--muted);
  margin: 0 auto;
}

.legal-body {
  padding: 72px 0;
  background: var(--bg);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}

.legal-toc h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text);
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc-counter;
}

.legal-toc li {
  counter-increment: toc-counter;
  margin-bottom: 10px;
}

.legal-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  transition: color 0.2s;
  padding: 4px 0;
}

.legal-toc a:hover {
  color: var(--pink);
}

.legal-toc a::before {
  content: counter(toc-counter);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}

.legal-content section {
  margin-bottom: 40px;
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--alt);
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-content h2 .sec-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.legal-content section:nth-child(odd) h2 .sec-num  { background: #FFE0E0; color: var(--pink); }
.legal-content section:nth-child(even) h2 .sec-num { background: #D4F8F6; color: #3DBDB5; }

.legal-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--secondary);
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.legal-content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  color: var(--secondary);
  line-height: 1.7;
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.legal-content a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-effective {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

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

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

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

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

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

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

  .legal-content {
    padding: 24px;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    width: 100%;
    max-width: 320px;
  }
}
