/* ========================================
   XIAOLI TECH - REDESIGN
   Aesthetic: Refined editorial / luxury craft
   Palette: Deep charcoal + warm amber gold
   ======================================== */

:root {
  --ink: #0d0d0f;
  --ink-light: #1a1a1f;
  --ink-mid: #2a2a32;
  --charcoal: #3d3d47;
  --slate: #6b6b7b;
  --silver: #9e9eaf;
  --mist: #c8c8d4;
  --cloud: #e8e8ef;
  --snow: #f4f4f8;
  --white: #fefeff;
  --amber: #d4a04a;
  --amber-light: #e8bf6a;
  --amber-glow: #d4a04a33;
  --amber-deep: #b8862e;
  --red-dot: #e85d5d;
  --yellow-dot: #f0c940;
  --green-dot: #4cd964;
  --font-display: 'Playfair Local', Georgia, 'Times New Roman', serif;
  --font-heading: 'Playfair Local', Georgia, 'Times New Roman', serif;
  --font-body: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-height: 72px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--mist);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Cursor Glow ---- */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reduced-motion .reveal,
.reduced-motion .reveal.visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .js .reveal,
  .js .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ================================
   NAVIGATION
   ================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(13, 13, 15, 0.7);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(212, 160, 74, 0.06);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(13, 13, 15, 0.92);
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 138px;
  height: 50px;
  display: block;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  border-radius: 10px;
  letter-spacing: -0.02em;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--silver);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--amber);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink) !important;
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  padding: 10px 24px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--amber-glow);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.nav-lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  min-width: 112px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(212, 160, 74, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(212, 160, 74, 0.13), rgba(212, 160, 74, 0.05)),
    rgba(9, 10, 13, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 28px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.nav-lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 50px;
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  color: rgba(236, 231, 221, 0.74);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.nav-lang-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-lang-link.active {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(236, 193, 110, 1), rgba(212, 160, 74, 1));
  box-shadow:
    0 12px 26px rgba(212, 160, 74, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--mist);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 1024px) {
  .nav-inner {
    position: relative;
    gap: 12px;
    padding: 0 20px;
    min-width: 0;
  }

  .nav-logo {
    min-width: 0;
    flex-shrink: 1;
  }

  .logo-text {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    z-index: 20;
    flex-direction: column;
    gap: 0;
    padding: 14px 18px;
    border: 1px solid rgba(212, 160, 74, 0.18);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(212, 160, 74, 0.08), rgba(212, 160, 74, 0.03)),
      rgba(13, 13, 15, 0.96);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 2px;
  }

  .nav-links a::after {
    bottom: 6px;
  }

  .nav-actions {
    min-width: 0;
    margin-left: auto;
    gap: 10px;
    flex-shrink: 0;
  }

  .nav-cta {
    padding: 10px 16px;
    font-size: 12px;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 100px;
    border: 1px solid rgba(212, 160, 74, 0.32);
    background: rgba(212, 160, 74, 0.08);
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(212, 160, 74, 0.08);
  }
}

/* ================================
   NAV SEARCH BUTTON
   ================================ */
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 160, 74, 0.38);
  background: rgba(212, 160, 74, 0.08);
  border-radius: 100px;
  color: var(--amber);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(212, 160, 74, 0.08);
}

.nav-search-btn:hover {
  color: var(--white);
  border-color: rgba(212, 160, 74, 0.35);
  background: rgba(212, 160, 74, 0.1);
}

.nav-search-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

/* ================================
   SEARCH OVERLAY
   ================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  width: 100%;
  max-width: 680px;
  padding: 0 32px;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease-out-expo);
}

.search-overlay.active .search-overlay-inner {
  transform: translateY(0) scale(1);
}

.search-overlay-close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-mid);
  border-radius: 14px;
  background: var(--ink-light);
  color: var(--silver);
  cursor: pointer;
  font-size: 24px;
  transition: all 0.3s ease;
}

.search-overlay-close:hover {
  border-color: var(--amber);
  color: var(--white);
  background: rgba(212, 160, 74, 0.1);
}

.search-overlay-form {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ink-light);
  border: 1px solid var(--ink-mid);
  border-radius: 20px;
  padding: 12px 16px 12px 28px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-overlay-form:focus-within {
  border-color: rgba(212, 160, 74, 0.45);
  box-shadow: 0 0 0 4px rgba(212, 160, 74, 0.06), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-overlay-form .search-icon {
  flex-shrink: 0;
  color: var(--amber);
  opacity: 0.7;
}

.search-overlay-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  font-size: 20px;
  color: var(--white);
  font-family: var(--font-body);
  padding: 8px 0;
}

.search-overlay-input::placeholder {
  color: var(--slate);
}

.search-overlay-submit {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  border: none;
  border-radius: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.search-overlay-submit:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 24px var(--amber-glow);
}

.search-overlay-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--slate);
}

.search-overlay-hint kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--silver);
  background: var(--ink);
  border: 1px solid var(--ink-mid);
  border-radius: 6px;
}

.search-overlay-tags {
  margin-top: 32px;
}

.search-overlay-tags-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
  margin-bottom: 14px;
}

.search-overlay-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--silver);
  padding: 8px 18px;
  border: 1px solid var(--ink-mid);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.search-tag:hover {
  border-color: rgba(212, 160, 74, 0.4);
  color: var(--amber);
  background: rgba(212, 160, 74, 0.06);
}

body.search-open {
  overflow: hidden;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  color: var(--ink);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--amber-glow);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--mist);
  border: 1.5px solid var(--ink-mid);
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber);
}

.btn-outline:hover {
  background: var(--amber);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 13px;
  padding: 10px 22px;
}

.btn-lg {
  font-size: 16px;
  padding: 18px 38px;
}

/* ================================
   SECTION DEFAULTS
   ================================ */
.section-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber);
  margin-bottom: 20px;
  position: relative;
  padding: 0 24px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--amber);
  opacity: 0.4;
}

.section-tag::before { left: 0; }
.section-tag::after { right: 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 16px;
  color: var(--silver);
  margin-top: 20px;
  line-height: 1.8;
}

/* ================================
   HERO
   ================================ */
.hero {
  position: relative;
  min-height: 75vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 45px) 40px 45px;
  overflow: hidden;
}

.hero-bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(212, 160, 74, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 160, 74, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--amber);
  background: rgba(212, 160, 74, 0.08);
  border: 1px solid rgba(212, 160, 74, 0.15);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-title span {
  display: block;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--silver);
  margin-top: 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-mid);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--amber);
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--slate);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--ink-mid);
}

/* Hero Mockup */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-mockup {
  background: var(--ink-light);
  border: 1px solid var(--ink-mid);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 0.6s var(--ease-out-expo);
}

.hero-mockup:hover {
  transform: translateY(-4px) rotateX(1deg);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-mid);
}

.mockup-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: var(--red-dot); }
.dot.yellow { background: var(--yellow-dot); }
.dot.green { background: var(--green-dot); }

.mockup-url {
  font-size: 11px;
  color: var(--slate);
  background: var(--ink-light);
  padding: 4px 16px;
  border-radius: 6px;
  margin-left: 12px;
  flex: 1;
  text-align: center;
}

.mockup-screen {
  padding: 24px;
  min-height: 320px;
}

.mockup-nav-bar {
  height: 8px;
  background: var(--ink-mid);
  border-radius: 4px;
  margin-bottom: 24px;
  width: 60%;
}

.mockup-hero-block {
  margin-bottom: 24px;
}

.mockup-line {
  height: 10px;
  background: linear-gradient(90deg, var(--ink-mid), var(--charcoal));
  border-radius: 5px;
  margin-bottom: 10px;
}

.mockup-line.w80 { width: 80%; }
.mockup-line.w60 { width: 60%; }

.mockup-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.mockup-btn {
  width: 80px;
  height: 28px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  border-radius: 14px;
}

.mockup-btn.ghost {
  background: transparent;
  border: 1.5px solid var(--ink-mid);
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mockup-card {
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
}

.mockup-card-img {
  height: 60px;
  background: linear-gradient(135deg, var(--ink-mid), var(--charcoal));
}

.mockup-card-text {
  padding: 10px;
}

.mockup-card-text::before {
  content: '';
  display: block;
  height: 6px;
  width: 80%;
  background: var(--ink-mid);
  border-radius: 3px;
  margin-bottom: 6px;
}

.mockup-card-text::after {
  content: '';
  display: block;
  height: 6px;
  width: 50%;
  background: var(--ink-mid);
  border-radius: 3px;
}

/* Floating Tags */
.floating-tag {
  position: absolute;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(18, 18, 24, 0.9);
  border: 1px solid rgba(212, 160, 74, 0.18);
  color: var(--amber);
  backdrop-filter: blur(10px);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  animation: float 6s ease-in-out infinite;
}

.tag-1 { top: -10px; right: -10px; animation-delay: 0s; }
.tag-2 { bottom: 60px; left: -20px; animation-delay: 2s; }
.tag-3 { bottom: -10px; right: 40px; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ================================
   SERVICES
   ================================ */
.services {
  padding: 120px 0;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--amber), transparent);
  opacity: 0.3;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--ink-light);
  border: 1px solid var(--ink-mid);
  border-radius: 20px;
  padding: 40px 28px;
  transition: all 0.4s var(--ease-out-expo);
  overflow: hidden;
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: var(--ink-mid);
  line-height: 1;
  opacity: 0.5;
  transition: color 0.4s ease;
}

.service-card:hover {
  border-color: var(--amber);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(212, 160, 74, 0.08);
}

.service-card:hover::before {
  color: var(--amber);
  opacity: 0.2;
}

.service-icon {
  width: 56px;
  height: 56px;
  color: var(--amber);
  margin-bottom: 28px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.service-arrow {
  display: inline-block;
  margin-top: 20px;
  font-size: 20px;
  color: var(--amber);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--ease-out-expo);
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 16px;
  }

  .nav-actions {
    margin-left: auto;
    gap: 8px;
  }

  .nav-links {
    left: 16px;
    right: 16px;
  }

  .nav-lang-switch {
    min-width: 94px;
    padding: 3px;
    gap: 2px;
    border-radius: 12px;
  }

  .nav-lang-link {
    min-width: 42px;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 11px;
  }

  .nav-search-btn,
  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .nav-cta {
    padding: 9px 14px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    gap: 10px;
    padding: 0 14px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-links {
    left: 14px;
    right: 14px;
  }

  .nav-lang-switch {
    min-width: 94px;
    padding: 3px;
    gap: 2px;
    border-radius: 12px;
  }

  .nav-lang-link {
    min-width: 42px;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 11px;
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: 11px;
  }
}
