/* ============================================
   MARCHE PRIORITY — Corporate Website Styles
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --color-black: #111111;
  --color-charcoal: #1a1a1a;
  --color-charcoal: #491672;
  --color-dark-gray: #2a2a2a;
  --color-medium-gray: #555555;
  --color-gray: #888888;
  --color-light-gray: #c0c0c0;
  --color-silver: #e0e0e0;
  --color-off-white: #f2f2f2;
  --color-white: #ffffff;
  --color-accent: #3a7bd5;
  --color-accent-dark: #2a5ba5;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--color-dark-gray);
  background: var(--color-white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-charcoal);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-medium-gray);
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--color-gray);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray);
  max-width: 640px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-silver);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 70px;
  width: auto;
}

.nav-logo svg {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-medium-gray);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-charcoal);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--color-charcoal);
}

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

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--color-off-white);
  border-radius: 20px;
  padding: 3px;
  margin-left: 8px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 16px;
  color: var(--color-gray);
  font-family: var(--font-body);
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.lang-btn.active {
  background: var(--color-charcoal);
  color: var(--color-white);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-charcoal);
  transition: all var(--transition);
}

.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-charcoal);
  margin-top: 0;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
/*    rgba(17, 17, 17, 0.82) 0%, */
    rgba(49, 16, 73, 0.82) 0%,
    rgba(26, 26, 26, 0.65) 50%,
    rgba(42, 42, 42, 0.75) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 60px 24px;
  max-width: 800px;
}

.hero-logo {
  margin: 0 auto 40px;
  max-width: 280px;
}

.hero-logo img, .hero-logo svg {
  width: 100%;
  height: auto;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--color-light-gray);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  border: 2px solid var(--color-white);
}

.hero-cta:hover {
  background: transparent;
  color: var(--color-white);
}

.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* --- Section Base --- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--color-off-white);
}

.section-dark {
  background: var(--color-charcoal);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark p,
.section-dark .section-label,
.section-dark .section-subtitle {
  color: var(--color-light-gray);
}

/* --- What We Do --- */
.wwd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.wwd-card {
  background: var(--color-white);
  border: 1px solid var(--color-silver);
  border-radius: 8px;
  padding: 40px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.wwd-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-charcoal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.wwd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

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

.wwd-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--color-charcoal);
}

.wwd-card h3 {
  margin-bottom: 14px;
}

.wwd-card p {
  font-size: 0.95rem;
  line-height: 1.75;
}

/* --- Products --- */
.product-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.product-item:last-child {
  margin-bottom: 0;
}

.product-item.reverse {
  direction: rtl;
}

.product-item.reverse > * {
  direction: ltr;
}

.product-image {
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-off-white);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-silver);
}

.product-image svg {
  width: 100%;
  height: 100%;
}

.product-content {
  padding: 20px 0;
}

.product-number {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-charcoal);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
  margin-bottom: 18px;
}

.product-content h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.product-content p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.product-features {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-medium-gray);
}

.product-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--color-charcoal);
}

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

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.85;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.stat-card {
  background: var(--color-off-white);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--color-silver);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-charcoal);
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gray);
  font-weight: 500;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-off-white);
  border: 1px solid var(--color-silver);
}

.about-image-wrapper svg {
  width: 100%;
  height: auto;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-charcoal);
  color: var(--color-white);
  border-radius: 8px;
  padding: 20px 28px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.about-badge .stat-number {
  color: var(--color-white);
}

.about-badge .stat-label {
  color: var(--color-light-gray);
}

/* Global Partners */
.partners-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--color-silver);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.partner-card {
  background: var(--color-off-white);
  border: 1px solid var(--color-silver);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.partner-flag {
  font-size: 2rem;
  margin-bottom: 10px;
}

.partner-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}

.partner-card p {
  font-size: 0.8rem;
  color: var(--color-gray);
  margin: 0;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-silver);
  border-radius: 8px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark-gray);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-silver);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-dark-gray);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-charcoal);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-charcoal);
  color: var(--color-white);
  border: 2px solid var(--color-charcoal);
  padding: 14px 36px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  background: transparent;
  color: var(--color-charcoal);
}

.btn-submit svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-status.error {
  display: block;
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #f8bbd0;
}

/* Contact Info Side */
.contact-info-side h2 {
  margin-bottom: 16px;
}

.contact-info-side > p {
  margin-bottom: 32px;
}

.info-cards {
  display: grid;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--color-off-white);
  border-radius: 8px;
  border: 1px solid var(--color-silver);
}

.info-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--color-charcoal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.info-card-icon svg {
  width: 20px;
  height: 20px;
}

.info-card h4 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.info-card p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.info-card a {
  color: var(--color-medium-gray);
  transition: color var(--transition);
}

.info-card a:hover {
  color: var(--color-charcoal);
}

/* --- Footer --- */
.footer {
  background: var(--color-charcoal);
  color: var(--color-light-gray);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-top: 16px;
  color: var(--color-gray);
  max-width: 360px;
}

.footer-brand .nav-logo svg {
  filter: brightness(10);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-gray);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--color-dark-gray);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-gray);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s 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; }
.fade-in-delay-5 { transition-delay: 0.5s; }

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

  .product-item {
    gap: 40px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: 70px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .lang-toggle {
    margin-left: 0;
  }

  .hero-content {
    padding: 40px 20px;
  }

  .hero-logo {
    max-width: 200px;
  }

  .wwd-grid {
    grid-template-columns: 1fr;
  }

  .product-item,
  .product-item.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    direction: ltr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-badge {
    position: relative;
    bottom: auto;
    right: auto;
    display: inline-block;
    margin-top: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .partners-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

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

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}
