:root {
  --navy: #1a2332;
  --navy-light: #2a3847;
  --gray-900: #0f1419;
  --gray-800: #1c2430;
  --gray-700: #373f50;
  --gray-600: #50586a;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --accent: #1a2332;
  --accent-hover: #0f1419;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
  animation: fadeInUp 0.8s ease-out forwards;
}

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

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
}

.brand-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gray-900);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0 auto 0 4rem;
}

.nav-link {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gray-900);
  transition: width 0.3s ease;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switch {
  background: none;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lang-switch:hover {
  border-color: var(--gray-900);
  color: var(--gray-900);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 35, 50, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 35, 50, 0.2);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--white);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: 0.01em;
}

.btn-secondary:hover {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 0.9375rem;
}

@media (max-width: 968px) {
  .nav-menu {
    display: none;
  }

  .nav-actions .lang-switch {
    display: none;
  }

  .nav-container .btn-primary {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  background: var(--gray-900);
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(15, 20, 25, 0.6), rgba(15, 20, 25, 0.4)),
    url('https://images.pexels.com/photos/1823680/pexels-photo-1823680.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.85;
}

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

.hero-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.headline-line-1,
.headline-line-2 {
  display: block;
}

.headline-line-1 {
  margin-bottom: 0;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn-large {
    width: 100%;
    max-width: 320px;
  }
}

.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.value-props {
  padding: 8rem 0;
  background: var(--white);
}

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

@media (max-width: 968px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  text-align: center;
  padding: 0 1rem;
}

.value-icon {
  width: 48px;
  height: 48px;
  color: var(--gray-900);
  margin: 0 auto 1.5rem;
  stroke-width: 1.25;
}

.value-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.value-description {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.9375rem;
  font-weight: 400;
}

.how-it-works {
  padding: 8rem 0;
  background: var(--gray-900);
}

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

@media (max-width: 968px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  position: relative;
  padding-top: 4rem;
  transition: all 0.3s ease;
}

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

.how-it-works .section-title {
  color: var(--white);
}

.step-number {
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1;
}

.step-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.step-description {
  color: var(--gray-400);
  line-height: 1.7;
  font-size: 0.9375rem;
  font-weight: 400;
}

.what-we-source {
  padding: 8rem 0;
  background: var(--white);
}

.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.category-chip {
  background: var(--white);
  border: 1px solid var(--gray-300);
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  letter-spacing: 0.01em;
}

.category-chip:hover {
  border-color: var(--gray-900);
  background: var(--gray-50);
  color: var(--gray-900);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.category-chip.active {
  background: var(--gray-900);
  border-color: var(--gray-900);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(26, 35, 50, 0.2);
}

.category-content {
  margin-top: 3rem;
}

.category-panel {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.category-panel.active {
  display: block;
}

.category-display {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 3rem;
  align-items: center;
}

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

.category-image {
  width: 100%;
  max-height: 50vh;
  overflow: hidden;
  border-radius: 2px;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.category-display:hover .category-image img {
  transform: scale(1.05);
}

.category-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.category-info-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.category-info-text {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 400;
}

.category-info .btn-primary {
  align-self: flex-start;
}

.clients {
  padding: 6rem 0;
  background: var(--gray-50);
}

.clients .section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.clients .section-subtitle {
  font-size: 1rem;
  margin-bottom: 3rem;
}

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

@media (max-width: 768px) {
  .testimonials {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: 2px;
}

.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
  font-style: italic;
  font-weight: 400;
}

.testimonial-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about {
  padding: 8rem 0;
  background: var(--gray-900);
}

.about .section-title {
  color: var(--white);
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  text-align: center;
  color: var(--gray-300);
  font-size: 1.125rem;
  line-height: 1.8;
  font-weight: 400;
  margin-top: 2rem;
}

.contact {
  padding: 8rem 0;
  background: var(--gray-50);
}

.quote-form {
  max-width: 700px;
  margin: 3rem auto 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

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

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 2px;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--gray-900);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gray-900);
  box-shadow: 0 0 0 3px rgba(26, 35, 50, 0.05);
  transform: translateY(-1px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.confidentiality-note {
  font-size: 0.8125rem;
  color: var(--gray-600);
  text-align: center;
  margin: 1.5rem 0;
  line-height: 1.6;
  font-style: italic;
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
  position: relative;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .btn-loader {
  display: block;
}

.form-success,
.form-error {
  display: none;
  padding: 2rem;
  border-radius: 2px;
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-success.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeIn 0.4s ease;
}

.form-success svg {
  color: #16a34a;
}

.form-success h3 {
  font-family: 'Inter', sans-serif;
  color: #166534;
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.form-success p {
  color: #166534;
  font-size: 0.9375rem;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
}

.form-error.active {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.form-error svg {
  color: #dc2626;
  flex-shrink: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-company {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-address {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  font-weight: 400;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--white);
}

.legal-page {
  padding: 8rem 0 4rem;
  min-height: 100vh;
}

.legal-page h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.legal-page .last-updated {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 3rem;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.legal-section h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.legal-section p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-section ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section li {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-section a:hover {
  color: var(--accent-hover);
}

.legal-section strong {
  font-weight: 600;
  color: var(--gray-800);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
