/* ============================================
   御鉴 LEGATUM — Global Elite Identity Platform
   Stylesheet: Dark Luxury / Old Money Aesthetic
   ============================================ */

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

:root {
  /* Colors — Dark Luxury Palette */
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-card: #1c1815;
  --bg-card-hover: #242019;
  --gold: #c5a572;
  --gold-light: #e8c987;
  --gold-dim: rgba(197, 165, 114, 0.35);
  --gold-border: rgba(197, 165, 114, 0.18);
  --text-primary: #e8e2d8;
  --text-secondary: #9a9286;
  --text-muted: #6b665e;
  --accent-red: #5c1a1a;
  --accent-red-light: rgba(92, 26, 26, 0.3);

  /* Typography */
  --font-serif-cn: 'Noto Serif SC', 'Songti SC', serif;
  --font-serif-en: 'Playfair Display', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.3s var(--ease-lux);
  --transition-base: 0.5s var(--ease-lux);
  --transition-slow: 0.8s var(--ease-lux);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-serif-cn);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== UTILITY ===== */
.gold-text {
  color: var(--gold);
  font-family: var(--font-serif-en);
  font-style: italic;
  font-weight: 700;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-serif-cn);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: none;
  position: relative;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 165, 114, 0.3);
}

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

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197, 165, 114, 0.05);
}

.btn-lg {
  padding: 1.1rem 3rem;
  font-size: 1.05rem;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.nav-scrolled {
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif-en);
}

.brand-cn {
  font-family: var(--font-serif-cn);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: var(--gold-dim);
}

.brand-en {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--gold);
}

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

.nav-cta {
  padding: 0.6rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  transition: all var(--transition-base);
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

.nav-toggle-active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.nav-toggle-active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s var(--ease-lux) infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.5) 40%,
    rgba(10, 10, 10, 0.8) 80%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 2rem 4rem;
  max-width: 900px;
}

.hero-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.label-line {
  width: 50px;
  height: 1px;
  background: var(--gold-dim);
}

.label-text {
  font-family: var(--font-serif-en);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-serif-cn);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.title-separator {
  color: var(--gold);
  margin: 0 0.3em;
  font-weight: 400;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 400;
  line-height: 2;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.hero-highlight {
  color: var(--text-primary);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.trust-number {
  font-family: var(--font-serif-en);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}

.trust-suffix {
  font-size: 1rem;
  margin-left: 1px;
}

.trust-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--gold-border);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.scroll-text {
  font-family: var(--font-serif-en);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--gold-dim), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: scrollDown 2s var(--ease-lux) infinite;
}

@keyframes scrollDown {
  0% { top: -50px; }
  100% { top: 50px; }
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

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

.stat-card {
  text-align: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--gold-border);
}

.stat-number {
  font-family: var(--font-serif-en);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number sup {
  font-size: 1.2rem;
  vertical-align: super;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  font-family: var(--font-serif-en);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif-cn);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-title-light {
  color: var(--text-primary);
}

.section-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.section-desc-light {
  color: rgba(232, 226, 216, 0.7);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 7rem 0;
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid transparent;
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.service-image {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg-card) 100%);
  transition: opacity var(--transition-base);
}

.service-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.3);
  transition: background var(--transition-base);
}

.service-card:hover .service-image-overlay {
  background: rgba(10, 10, 10, 0.15);
}

.service-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  font-family: var(--font-serif-en);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--gold-dim);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
}

.service-body {
  padding: 2rem 2rem 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-number {
  font-family: var(--font-serif-en);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dim);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.service-title {
  font-family: var(--font-serif-cn);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.service-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gold);
  align-self: flex-start;
  transition: all var(--transition-fast);
}

.service-link:hover {
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

/* ===== ADVANTAGES SECTION ===== */
.advantages-section {
  padding: 7rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.advantage-card {
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--gold-border);
  background: var(--bg-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.advantage-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}

.advantage-card:hover::before {
  transform: scaleX(1);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  color: var(--gold);
}

.advantage-icon svg {
  width: 100%;
  height: 100%;
}

.advantage-title {
  font-family: var(--font-serif-cn);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.advantage-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ===== PROCESS SECTION ===== */
.process-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.process-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.process-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.85) 50%,
    rgba(10, 10, 10, 0.92) 100%
  );
}

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

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

.process-timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-dim), var(--gold-border), var(--gold-dim));
}

.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

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

.step-marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 1px solid var(--gold-dim);
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
}

.process-step:hover .step-marker {
  border-color: var(--gold);
  background: var(--bg-card);
}

.step-number {
  font-family: var(--font-serif-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.step-content {
  padding-top: 0.5rem;
}

.step-title {
  font-family: var(--font-serif-cn);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.step-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(232, 226, 216, 0.65);
  max-width: 560px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: 7rem 0;
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}

.quote-mark {
  font-family: var(--font-serif-en);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold-border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 1px solid var(--gold-dim);
  font-family: var(--font-serif-en);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.author-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.8) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

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

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

.cta-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cta-label span:not(.label-line) {
  font-family: var(--font-serif-en);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.cta-title {
  font-family: var(--font-serif-cn);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.cta-desc {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col-title {
  font-family: var(--font-serif-cn);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.footer-col a,
.footer-col .footer-address {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

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

.footer-divider {
  height: 1px;
  background: var(--gold-border);
  margin-bottom: 1.5rem;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-meta p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-disclaimer {
  max-width: 600px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .container,
  .nav-container {
    padding: 0 1.25rem;
  }

  /* Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right var(--transition-base);
    border-left: 1px solid var(--gold-border);
  }

  .nav-links-open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Hero */
  .hero-content {
    padding: 5rem 1.25rem 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 3rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 1.25rem;
  }

  .trust-number {
    font-size: 1.3rem;
  }

  .trust-divider {
    height: 24px;
  }

  .hero-scroll {
    display: none;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1rem;
  }

  .stat-card:nth-child(2)::after {
    display: none;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 3rem;
  }

  /* Services */
  .services-section,
  .advantages-section,
  .testimonials-section {
    padding: 4rem 0;
  }

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

  .service-image {
    height: 220px;
  }

  /* Advantages */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .advantage-card {
    padding: 2rem 1.5rem;
  }

  /* Process */
  .process-section {
    padding: 4rem 0;
  }

  .process-bg {
    background-attachment: scroll;
  }

  .process-step {
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  /* CTA */
  .cta-section {
    padding: 4rem 0;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto 1.5rem;
  }

  .cta-actions .btn {
    width: 100%;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer-meta {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-card::after {
    display: none;
  }

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

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

  .brand-en {
    display: none;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-bg {
    animation: none;
  }
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-overlay.modal-active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  max-width: 720px;
  max-height: 85vh;
  width: 100%;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform var(--transition-base);
}

.modal-overlay.modal-active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition-fast);
  font-family: var(--font-serif-en);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--gold);
}

.modal-header {
  padding: 3rem 3rem 2rem;
  border-bottom: 1px solid var(--gold-border);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
}

.modal-tag {
  display: inline-block;
  font-family: var(--font-serif-en);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--gold-dim);
  margin-bottom: 1rem;
}

.modal-title {
  font-family: var(--font-serif-cn);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-body {
  padding: 2rem 3rem;
}

.modal-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gold-border);
}

.modal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.modal-section-title {
  font-family: var(--font-serif-cn);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
  position: relative;
  padding-left: 1rem;
}

.modal-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 3px;
  height: 1em;
  background: var(--gold);
}

.modal-section-text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.modal-footer {
  padding: 1.5rem 3rem 2.5rem;
  border-top: 1px solid var(--gold-border);
  text-align: center;
}

.modal-cta-btn {
  min-width: 260px;
}

/* Modal scrollbar */
.modal-container::-webkit-scrollbar {
  width: 4px;
}

.modal-container::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

.modal-container::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 2px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-container {
    max-height: 90vh;
    max-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    transform: translateY(50px) scale(0.98);
  }

  .modal-header {
    padding: 2rem 1.5rem 1.5rem;
  }

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

  .modal-body {
    padding: 1.5rem;
  }

  .modal-footer {
    padding: 1.25rem 1.5rem 2rem;
  }

  .modal-cta-btn {
    width: 100%;
    min-width: auto;
  }
}

/* ===== CONTACT FORM ===== */
.modal-contact-container {
  max-width: 640px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}

.form-required {
  color: var(--gold);
  font-weight: 700;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
  padding: 0.85rem 1rem;
  font-family: var(--font-serif-cn);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 1px var(--gold-dim);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
}

.form-select-wrapper {
  position: relative;
}

.form-select-wrapper::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--gold-dim);
  pointer-events: none;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(197, 165, 114, 0.05);
  border: 1px solid var(--gold-border);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-privacy svg {
  flex-shrink: 0;
  color: var(--gold);
}

.form-submit {
  width: 100%;
  padding: 1.1rem;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

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

.success-icon {
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.success-title {
  font-family: var(--font-serif-cn);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.success-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(197, 165, 114, 0.3);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  border-radius: 2px;
  min-width: 48px;
  text-align: center;
}

.lang-btn:hover {
  border-color: var(--gold);
  background: rgba(197, 165, 114, 0.08);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #1c1815;
  border: 1px solid rgba(197, 165, 114, 0.2);
  min-width: 130px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.3s var(--ease-out);
  z-index: 100;
  border-radius: 2px;
  overflow: hidden;
}

.lang-dropdown.lang-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: 'Noto Serif SC', serif;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.lang-option:hover {
  background: rgba(197, 165, 114, 0.1);
  color: var(--gold);
}

.lang-option.lang-active {
  color: var(--gold);
  background: rgba(197, 165, 114, 0.06);
  position: relative;
}

.lang-option.lang-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}

@media (max-width: 900px) {
  .lang-switcher {
    margin-right: 0;
    margin-left: auto;
  }

  .lang-dropdown {
    right: 0;
    left: auto;
  }
}
