/* ===== CSS VARIABLES ===== */
:root {
  --warm-white: #FAF9F6;
  --graphite: #2C3E50;
  --amber: #C4956A;
  --sage: #8FA395;
  --light-gray: #F5F4F0;
  --text-body: #4A4A4A;
  --text-muted: #8A8A8A;
  --border: #E8E6E1;
  --shadow-soft: 0 4px 20px rgba(44,62,80,0.06);
  --shadow-medium: 0 8px 30px rgba(44,62,80,0.10);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--warm-white);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TEXTURE BACKGROUNDS ===== */
.hero-section {
  background: var(--warm-white);
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.cta-section {
  background: var(--graphite);
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,249,246,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--graphite);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--amber); font-weight: 400; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}
.nav-link:hover { color: var(--amber); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--amber); }
.nav-link.active::after { width: 100%; }

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: transparent;
  font-size: 13px;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn:hover { border-color: var(--amber); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 1001;
}
.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-item {
  padding: 10px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lang-item:first-child { border-radius: 12px 12px 0 0; }
.lang-item:last-child { border-radius: 0 0 12px 12px; }
.lang-item:hover { background: var(--light-gray); }
.lang-item.active { color: var(--amber); font-weight: 600; }
.lang-check { display: none; }
.lang-item.active .lang-check { display: inline; }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--graphite);
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--graphite);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--amber);
  color: white;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-gold:hover {
  background: #B0855A;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196,149,106,0.3);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: transparent;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* ===== SECTIONS ===== */
section { position: relative; z-index: 1; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-padding { padding: 100px 0; }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.eyebrow {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--graphite);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== HERO ===== */
.hero-section { padding: 140px 0 100px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 20px;
}
.hero-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--graphite);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-title em { font-style: italic; color: var(--amber); }
.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}
.trust-items { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item {
  font-size: 13px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-item::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
}
.hero-portrait {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.portrait-frame {
  width: 360px;
  height: 440px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--light-gray);
  border: 1px solid var(--border);
}
.portrait-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: repeating-linear-gradient(
    45deg, transparent, transparent 10px,
    rgba(196,149,106,0.03) 10px, rgba(196,149,106,0.03) 20px
  );
  pointer-events: none;
  z-index: 1;
}
.portrait-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  gap: 12px;
}
.portrait-placeholder svg {
  width: 64px; height: 64px;
  stroke: var(--border);
}
.portrait-accent {
  position: absolute;
  width: 120px; height: 120px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  opacity: 0.15;
  top: -30px; right: -30px;
}

/* ===== PHILOSOPHY / STATS ===== */
.philosophy-section { background: white; }
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.philosophy-quote {
  font-family: Georgia, serif;
  font-size: 28px;
  font-style: italic;
  color: var(--graphite);
  line-height: 1.5;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--amber);
}
.philosophy-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-style: normal;
  color: var(--text-muted);
  font-family: -apple-system, sans-serif;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.stat-card {
  padding: 28px;
  background: var(--warm-white);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--amber);
}
.stat-number {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--amber);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 4px;
}
.stat-desc { font-size: 13px; color: var(--text-muted); }

/* ===== SERVICES ===== */
.services-section { background: var(--light-gray); }
.services-list { max-width: 800px; margin: 0 auto; }
.service-item {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.service-item:first-child { padding-top: 0; }
.service-item:last-child { border-bottom: none; padding-bottom: 0; }
.service-item:hover { padding-left: 12px; }
.service-num {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--amber);
  opacity: 0.6;
  min-width: 50px;
  line-height: 1;
}
.service-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
}
.service-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== CASES ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.case-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}
.case-image {
  height: 220px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.case-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}
.case-image svg {
  width: 48px; height: 48px;
  stroke: var(--border);
  position: relative;
  z-index: 1;
}
.case-content { padding: 28px; }
.case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(196,149,106,0.1);
  color: var(--amber);
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.case-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 10px;
  line-height: 1.4;
}
.case-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.case-stats {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.case-stat { font-size: 13px; }
.case-stat strong {
  display: block;
  font-size: 18px;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 2px;
}
.case-stat span { color: var(--text-muted); font-size: 16px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: white; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  padding: 32px;
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 64px;
  color: var(--amber);
  opacity: 0.2;
  line-height: 1;
  position: absolute;
  top: 16px; left: 20px;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.testimonial-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite);
}
.testimonial-info p { font-size: 16px; color: var(--text-muted); }

/* ===== QR SECTION ===== */
.qr-section { background: white; }
.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}
.qr-card {
  text-align: center;
  padding: 40px;
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.qr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--amber);
}
.qr-placeholder {
  width: 160px; height: 160px;
  margin: 0 auto 20px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  gap: 8px;
}
.qr-placeholder svg { width: 48px; height: 48px; stroke: var(--border); }
.qr-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
}
.qr-card p { font-size: 14px; color: var(--text-muted); }

/* QR Modal */
.qr-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,62,80,0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.qr-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.qr-modal {
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-medium);
  transform: scale(0.9);
  transition: var(--transition);
  position: relative;
}
.qr-modal-overlay.active .qr-modal { transform: scale(1); }
.qr-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-muted);
  transition: var(--transition);
}
.qr-modal-close:hover {
  background: var(--light-gray);
  color: var(--graphite);
}
.qr-modal-img {
  width: 200px; height: 200px;
  margin: 0 auto 20px;
  background: var(--light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  border: 1px solid var(--border);
}
.qr-modal-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
}
.qr-modal-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* ===== INSIGHTS ===== */
.insights-section { background: var(--warm-white); }
.insights-list { max-width: 800px; margin: 0 auto; }
.insight-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.insight-item:last-child { border-bottom: none; }
.insight-item:hover { padding-left: 12px; }
.insight-item:hover .insight-title { color: var(--amber); }
.insight-date {
  font-size: 16px;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 80px;
  padding-top: 4px;
}
.insight-content { flex: 1; }
.insight-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 6px;
  transition: var(--transition);
  line-height: 1.4;
}
.insight-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.insight-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: var(--light-gray);
  color: var(--text-muted);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== CTA ===== */
.cta-section { padding: 100px 0; }
.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-section .section-title { color: white; }
.cta-section .section-subtitle { color: rgba(255,255,255,0.7); }
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-body);
  background: var(--warm-white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(196,149,106,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(143,163,149,0.1);
  color: var(--sage);
  border: 1px solid var(--sage);
}
.form-status.error {
  display: block;
  background: rgba(255,100,100,0.1);
  color: #e74c3c;
  border: 1px solid #e74c3c;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--graphite);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  color: white;
  margin-bottom: 12px;
}
.footer-brand h3 span { color: var(--amber); font-weight: 400; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.footer-shankedai {
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-shankedai h4 {
  font-size: 13px;
  color: var(--amber);
  margin-bottom: 6px;
  font-weight: 600;
}
.footer-shankedai p {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.footer-shankedai a {
  font-size: 16px;
  color: var(--amber);
  text-decoration: none;
}
.footer-shankedai a:hover { text-decoration: underline; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
}
.footer-social a:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] .philosophy-quote { padding-left: 0; padding-right: 24px; border-left: none; border-right: 3px solid var(--amber); }
[dir="rtl"] .insight-item { direction: rtl; }
[dir="rtl"] .service-item { direction: rtl; }
[dir="rtl"] .testimonial-author { direction: rtl; }
[dir="rtl"] .hero-cta { direction: rtl; }
[dir="rtl"] .qr-grid { direction: rtl; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .section-padding { padding: 80px 0; }
  .hero-section { padding: 120px 0 80px; }
  .hero-title { font-size: 40px; }
  .section-title { font-size: 30px; }
  .philosophy-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 8px 6px; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--warm-white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
  }
  .nav-links.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-portrait { order: -1; }
  .portrait-frame { width: 280px; height: 340px; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 12px 8px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 8px;
  }
  .footer-brand .footer-desc {
    max-width: 100%;
    margin: 0 auto;
    font-size: 0.75rem;
  }
  .footer-shankedai {
    margin: 8px auto 0;
    max-width: 100%;
    font-size: 0.7rem;
  }
  .footer-shankedai a {
    font-size: 0.75rem;
  }
  .footer-col h4 {
    font-size: 0.75rem;
    margin-bottom: 4px;
    opacity: 0.7;
  }
  .footer-col a {
    font-size: 0.7rem;
    padding: 1px 0;
    display: block;
    line-height: 1.4;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-brand .footer-desc {
    max-width: 100%;
    margin: 0 auto;
  }
  .footer-shankedai {
    margin: 12px auto 0;
    max-width: 100%;
  }
  .footer-col h4 {
    font-size: 0.85rem;
    margin-bottom: 6px;
    opacity: 0.7;
  }
  .footer-col a {
    font-size: 0.8rem;
    padding: 2px 0;
    display: block;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-title { font-size: 26px; }
  .hero-title { font-size: 32px; }
  .philosophy-quote { font-size: 22px; }
  .contact-form { padding: 24px; }
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    justify-items: start;
    text-align: left;
  }
  .footer-links a {
    font-size: 0.8rem;
    padding: 2px 0;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-padding { padding: 60px 0; }
  .hero-section { padding: 100px 0 60px; }
  .hero-title { font-size: 28px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { padding: 20px; }
  .service-item { flex-direction: column; gap: 12px; }
  .service-num { font-size: 16px; }
  .insight-item { flex-direction: column; gap: 8px; }
  .cta-buttons { flex-direction: column; }
  .btn-primary, .btn-gold, .btn-outline { width: 100%; }
}

html { scroll-padding-top: 80px; }
body::-webkit-scrollbar { width: 6px; }
body::-webkit-scrollbar-track { background: transparent; }
body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
body::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
