﻿/* =========================================
   万摩星设计咨询 — 主样式表
   Style: Pininfarina × Frog × Pentagram
   ========================================= */

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

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

body {
  background: #0A0A0A;
  color: #FFFFFF;
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: #C8A862; color: #0A0A0A; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: #2A2A2A; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #C8A862; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p { color: #B0B0B0; line-height: 1.8; }

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C8A862;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C8A862;
  margin-bottom: 1rem;
  display: block;
}

/* ---- Layout ---- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section { padding: 8rem 0; }
.section-sm { padding: 5rem 0; }

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

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-start { display: flex; align-items: center; justify-content: flex-start; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, border-color 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: #2A2A2A;
  padding: 1.2rem 2rem;
}

.nav-logo {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-icon {
  width: 39px;
  height: 39px;
  background: #C8A862;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 800;
  color: #0A0A0A;
  letter-spacing: 0;
}

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

.nav-links a {
  color: #B0B0B0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #C8A862;
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #C8A862;
}

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

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 1.5rem;
  margin-right: 0.5rem;
}

.lang-btn {
  background: none;
  border: none;
  color: #666;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.4rem;
  cursor: pointer;
  transition: color 0.3s;
  font-family: 'Inter', sans-serif;
}

.lang-btn.active {
  color: #C8A862;
}

.lang-btn:hover {
  color: #C8A862;
}

.lang-divider {
  color: #2A2A2A;
  font-size: 0.7rem;
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid #C8A862;
  color: #C8A862;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: #C8A862;
  color: #0A0A0A;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-hamburger span {
  width: 24px;
  height: 1.5px;
  background: #FFFFFF;
  transition: all 0.3s;
  display: block;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile overlay */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-overlay a {
  color: #FFFFFF;
  font-size: 3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-mobile-overlay a:hover { color: #C8A862; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,1) 100%),
    #111 url('https://images.unsplash.com/photo-1581092921461-eab62e97a780?w=1920&q=80') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-label {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.hero-title-accent { color: #C8A862; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #B0B0B0;
  max-width: 560px;
  margin: 1.5rem auto 0;
  line-height: 1.7;
}

.hero-cta { margin-top: 2.5rem; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #C8A862, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: #C8A862;
  color: #0A0A0A;
  padding: 0.9rem 2.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #C8A862;
}

.btn-primary:hover {
  background: #E8D5A3;
  border-color: #E8D5A3;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 168, 98, 0.2);
}

.btn-outline {
  display: inline-block;
  border: 1px solid #C8A862;
  color: #C8A862;
  padding: 0.9rem 2.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.4s;
  background: transparent;
}

.btn-outline:hover {
  background: #C8A862;
  color: #0A0A0A;
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #B0B0B0;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.btn-ghost:hover { color: #C8A862; }
.btn-ghost svg { transition: transform 0.3s; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* ---- Section Headers ---- */
.section-header {
  margin-bottom: 4rem;
}

.section-header-center {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header-center .section-label { margin-bottom: 1rem; }

.section-header h2 {
  margin-top: 0.5rem;
}

.section-header p {
  max-width: 600px;
  margin-top: 1rem;
  font-size: 1rem;
}

.section-header-center p {
  margin: 1rem auto 0;
}

/* ---- Portfolio ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #141414;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover img { transform: scale(1.06); }

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s;
}

.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }

.portfolio-card-title {
  font-size: 0.84rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-top: 0.5rem;
}

.portfolio-card-desc {
  font-size: 0.8rem;
  color: #B0B0B0;
  margin-top: 0.5rem;
}

/* Filter */
.portfolio-filter {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.portfolio-filter button {
  background: transparent;
  border: 1px solid #2A2A2A;
  color: #B0B0B0;
  padding: 0.5rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.portfolio-filter button.active,
.portfolio-filter button:hover {
  border-color: #C8A862;
  color: #C8A862;
}

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.service-card {
  padding: 3rem 2rem;
  border: 1px solid #2A2A2A;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  background: #0A0A0A;
}

.service-card:hover {
  border-color: rgba(200, 168, 98, 0.4);
  background: rgba(200, 168, 98, 0.03);
}

.service-card-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(200, 168, 98, 0.1);
  border: 1px solid rgba(200, 168, 98, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: #C8A862;
  fill: none;
  stroke-width: 1.5;
}

.service-card-title {
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.service-card-desc {
  color: #B0B0B0;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 0.75rem;
}

/* ---- About ---- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-intro-text h2 { margin-bottom: 1.5rem; }
.about-intro-text p { margin-top: 1rem; }

.about-intro-visual {
  position: relative;
}

.about-intro-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(20%);
}

.about-intro-img-overlay {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 60%;
  background: #141414;
  border: 1px solid #2A2A2A;
  padding: 2rem;
}

.about-intro-img-overlay .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #C8A862;
}

/* Stats */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 5rem;
  padding: 4rem 0;
  border-top: 1px solid #2A2A2A;
  border-bottom: 1px solid #2A2A2A;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #C8A862;
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: #B0B0B0;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

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

.team-card {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}

.team-card:hover { border-color: #2A2A2A; }

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: #1A1A1A;
  border: 2px solid #2A2A2A;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #C8A862;
  transition: border-color 0.3s;
}

.team-card:hover .team-photo { border-color: #C8A862; }

.team-name {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.team-role {
  color: #C8A862;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.team-bio {
  color: #666;
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Quote */
.quote-block {
  border-left: 2px solid #C8A862;
  padding: 1.2rem 2rem;
  margin: 2rem 0;
}

.quote-block p {
  font-size: 1.25rem;
  font-style: italic;
  color: #E0E0E0;
  line-height: 1.7;
}

.quote-author {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #C8A862;
  letter-spacing: 0.1em;
}

/* ---- Partners ---- */
.partners {
  padding: 4rem 0;
  border-top: 1px solid #2A2A2A;
  border-bottom: 1px solid #2A2A2A;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.partner-item {
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.4;
  transition: opacity 0.3s;
  cursor: default;
}

.partner-item:hover { opacity: 0.8; }

/* ---- Insights ---- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.insight-card {
  border-bottom: 1px solid #2A2A2A;
  padding-bottom: 2rem;
  transition: border-color 0.3s;
  cursor: pointer;
}

.insight-card:hover { border-color: rgba(200, 168, 98, 0.4); }

.insight-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #141414;
  margin-bottom: 1.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.insight-card:hover .insight-thumb img { transform: scale(1.05); }

.insight-date {
  font-size: 0.7rem;
  color: #C8A862;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.insight-title {
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 0.75rem;
  line-height: 1.4;
  transition: color 0.3s;
}

.insight-card:hover .insight-title { color: #C8A862; }

.insight-excerpt {
  color: #666;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-tags { margin-top: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border: 1px solid #2A2A2A;
  color: #666;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.tag:hover { border-color: #C8A862; color: #C8A862; }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 3rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #2A2A2A;
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C8A862;
  transform: translateX(-3.5px);
}

.timeline-year {
  font-size: 0.7rem;
  color: #C8A862;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline-title { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.5rem; }
.timeline-desc { color: #666; font-size: 0.875rem; }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}

.contact-info-item { margin-bottom: 2.5rem; }
.contact-info-label {
  font-size: 0.7rem;
  color: #C8A862;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.contact-info-value {
  font-size: 1rem;
  color: #E0E0E0;
  line-height: 1.6;
}
.contact-info-value a { color: #E0E0E0; transition: color 0.3s; }
.contact-info-value a:hover { color: #C8A862; }

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

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

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B0B0B0;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: #141414;
  border: 1px solid #2A2A2A;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.3s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: #C8A862; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: #444; }

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

.form-success {
  display: none;
  background: rgba(200, 168, 98, 0.1);
  border: 1px solid rgba(200, 168, 98, 0.3);
  padding: 2rem;
  text-align: center;
}

.form-success.show { display: block; }
.form-success p { color: #E8D5A3; margin-top: 0.5rem; }

/* Map placeholder */
.contact-map {
  width: 100%;
  aspect-ratio: 16/9;
  background: #141414;
  border: 1px solid #2A2A2A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  color: #444;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: #141414;
  border-top: 1px solid #2A2A2A;
  border-bottom: 1px solid #2A2A2A;
  padding: 6rem 0;
  text-align: center;
}

.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { max-width: 500px; margin: 1rem auto 2rem; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid #1A1A1A;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #1A1A1A;
}

.footer-brand-logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand-logo-icon {
  width: 32px;
  height: 32px;
  background: #C8A862;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: #0A0A0A;
  letter-spacing: 0;
}

.footer-desc {
  color: #555;
  font-size: 0.85rem;
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-heading {
  font-size: 0.7rem;
  color: #C8A862;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: #555;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.footer-links a:hover { color: #C8A862; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  font-size: 0.75rem;
}

.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  color: #444;
  font-size: 0.8rem;
  transition: color 0.3s;
}
.footer-social a:hover { color: #C8A862; }

/* ---- Page Header ---- */
.page-header {
  padding: 10rem 0 5rem;
  background: #0A0A0A;
  border-bottom: 1px solid #2A2A2A;
}

.page-header-content { max-width: 700px; }
.page-header h1 { margin-top: 0.5rem; }
.page-header p { margin-top: 1rem; font-size: 1.05rem; }

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #2A2A2A, transparent);
  max-width: 200px;
  margin: 4rem auto;
}

.divider-full { max-width: 100%; margin: 0; }

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

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  background: #0A0A0A;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-logo {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #FFFFFF;
}

.preloader-bar {
  width: 120px;
  height: 1px;
  background: #2A2A2A;
  position: relative;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #C8A862;
  animation: preloaderFill 1.5s ease-in-out forwards;
}

@keyframes preloaderFill {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/* ---- Horizontal Scroll (Pininfarina style) ---- */
.horizontal-scroll-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #C8A862 transparent;
  cursor: grab;
}

.horizontal-scroll-wrapper:active { cursor: grabbing; }

.horizontal-scroll-wrapper::-webkit-scrollbar { height: 3px; }
.horizontal-scroll-wrapper::-webkit-scrollbar-thumb { background: #C8A862; }

.hs-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 480px;
}

/* ---- Process Steps ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  padding: 2.5rem 2rem;
  border: 1px solid #2A2A2A;
  position: relative;
  transition: all 0.3s;
}

.process-step:hover {
  border-color: rgba(200, 168, 98, 0.3);
  background: rgba(200, 168, 98, 0.02);
}

.process-step-num {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.05);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.process-step-title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0.75rem 0 0.5rem;
}

.process-step-desc {
  color: #666;
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ---- Two Companies Section ---- */
.companies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.company-card {
  background: #141414;
  border: 1px solid #2A2A2A;
  padding: 3rem;
  transition: border-color 0.3s;
}

.company-card:hover { border-color: #C8A862; }

.company-card-label {
  font-size: 0.65rem;
  color: #C8A862;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.company-card h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.company-card p {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta, .lang-switch { display: none; }
  .nav-hamburger { display: flex; }

  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .companies-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-row { gap: 2rem; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }

  .section { padding: 5rem 0; }
  .page-header { padding: 8rem 0 4rem; }

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

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-title { font-size: 3rem; }
  .team-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 2.5rem; }
  .stats-row { gap: 1.5rem; }
}
