/* ============================================================
   DEUSTAL TRADING — Swiss Minimalist / International Typographic Style
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0a0a0a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-900: #171717;
  --red: #e63946;
  --red-dark: #c1121f;
  --max-w: 1280px;
  --section-py: 120px;
}

h1, h2, h3, h4 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
}

.text-red { color: var(--red); }
.text-red-light { color: var(--red); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: var(--section-py) 0; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.section-label.light { color: rgba(255,255,255,0.5); }

.section-title {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 24px;
  line-height: 1.05;
  font-weight: 900;
}
.section-title.light { color: #fff; }

.section-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

.section-header { margin-bottom: 80px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0;
  transition: all 0.3s ease;
}
.btn-dark {
  background: var(--black);
  color: #fff;
}
.btn-dark:hover {
  background: var(--red);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: #fff;
}
.btn-block { width: 100%; justify-content: center; }

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--gray-200);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-mark {
  width: 40px; height: 40px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 20px;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--black);
  letter-spacing: -0.01em;
}
.nav-logo-sub {
  font-size: 9px;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }
.nav-cta {
  padding: 12px 24px;
  background: var(--black);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--red);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--black);
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 999;
  padding: 100px 40px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  display: block;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-link {
  color: var(--black);
  font-family: 'Archivo', sans-serif;
  font-size: 32px;
  font-weight: 800;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}

/* ========== HERO ========== */
.hero {
  background: #fff;
  padding-top: 100px;
}
.hero-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 80vh;
  padding: 60px 0;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.hero-label-dot {
  width: 10px; height: 10px;
  background: var(--red);
}
.hero-title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  color: var(--black);
  margin-bottom: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-title-red {
  color: var(--red);
}
.hero-subtitle {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-200);
  padding: 32px 0;
}
.hero-stat {
  padding: 0 24px;
  border-left: 1px solid var(--gray-200);
}
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat-num {
  font-family: 'Archivo', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}
.hero-stat-num span { color: var(--red); }
.hero-stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== ABOUT ========== */
.about { background: var(--gray-50); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.about-text {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 18px;
  font-weight: 300;
}
.about-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--gray-200);
}
.about-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.about-point-line {
  flex-shrink: 0;
  width: 3px;
  height: 24px;
  background: var(--red);
  margin-top: 4px;
}
.about-point h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.about-point p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  font-weight: 300;
}

/* ========== PRODUCTS ========== */
.products { background: #fff; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-200);
  border-left: 1px solid var(--gray-200);
}
.product-card {
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s;
}
.product-card:hover {
  background: var(--gray-50);
}
.product-img {
  height: 240px;
  overflow: hidden;
  background: var(--gray-100);
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.03); }
.product-body { padding: 28px 26px; }
.product-num {
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
  letter-spacing: 0.05em;
}
.product-body h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}
.product-body p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  font-weight: 300;
}

/* ========== SERVICES ========== */
.services {
  background: var(--black);
  color: #fff;
  position: relative;
}
.services-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(230,57,70,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.services .container { position: relative; z-index: 1; }
.services .section-title { color: #fff; }
.services-list {
  display: flex;
  flex-direction: column;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 200px 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}
.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: none; padding-bottom: 0; }
.service-row:hover {
  padding-left: 16px;
}
.service-num {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}
.service-row h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.service-row p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-weight: 300;
}

/* ========== GLOBAL ========== */
.global { background: #fff; }
.global-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.global-text {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}
.global-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-200);
  padding-top: 32px;
}
.global-stat {
  padding: 0 20px;
  border-left: 1px solid var(--gray-200);
}
.global-stat:first-child { border-left: none; padding-left: 0; }
.global-stat-num {
  font-family: 'Archivo', sans-serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}
.global-stat-num span { color: var(--red); }
.global-stat-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.global-regions {
  display: flex;
  flex-direction: column;
}
.region-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}
.region-row:first-child { padding-top: 0; }
.region-row:last-child { border-bottom: none; }
.region-row h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.region-row p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  font-weight: 300;
}

/* ========== CONTACT ========== */
.contact { background: var(--gray-50); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 20px 22px;
  border-left: 3px solid var(--black);
  transition: all 0.3s;
}
.contact-item:hover {
  border-left-color: var(--red);
}
.contact-item-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.contact-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-item p, .contact-item a {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  font-weight: 300;
}
.contact-item a:hover { color: var(--red); }
.contact-map {
  border: 1px solid var(--gray-200);
}
.contact-map iframe {
  width: 100%; height: 240px;
  border: 0; display: block;
}
.map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: var(--black);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
}
.map-link:hover { background: var(--red); }

.contact-form-wrap {
  background: #fff;
  padding: 44px;
  border: 1px solid var(--gray-200);
}
.contact-form-wrap h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}
.contact-form-sub {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 32px;
  font-weight: 300;
}
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #fef2f2;
  border: 1px solid var(--red);
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}
.form-success.active { display: flex; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 0;
  font-size: 14px;
  font-family: inherit;
  color: var(--black);
  background: #fff;
  transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--black);
  color: #fff;
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-logo-mark {
  width: 40px; height: 40px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 20px;
}
.footer-logo-text { display: flex; flex-direction: column; }
.footer-logo-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.footer-logo-sub {
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1px;
}
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 300px;
  font-weight: 300;
}
.footer-col h4 {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
  font-weight: 300;
}
.footer-col ul li a:hover {
  color: var(--red);
  padding-left: 4px;
}
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  font-weight: 300;
}
.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--red);
  margin-top: 3px;
}
.footer-contact-item a { color: rgba(255,255,255,0.5); }
.footer-contact-item a:hover { color: var(--red); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-links { display: flex; gap: 28px; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image img { height: 360px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-visual img { height: 420px; }
  .global-grid { grid-template-columns: 1fr; gap: 56px; }
  .service-row { grid-template-columns: 60px 1fr; gap: 20px; }
  .service-row p { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-py: 80px; }
  .container { padding: 0 20px; }
  .nav-container { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-container { padding: 0 20px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-stat { border-left: none; padding: 16px 0; border-top: 1px solid var(--gray-200); }
  .hero-stat:first-child { border-top: none; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 22px; }
  .global-stats { grid-template-columns: 1fr; gap: 20px; }
  .global-stat { border-left: none; padding: 16px 0; border-top: 1px solid var(--gray-200); }
  .global-stat:first-child { border-top: none; }
  .section-header { margin-bottom: 56px; }
}
