/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-dark:    #2e2e2e;
  --color-text:    #5e5e5e;
  --color-muted:   #818181;
  --color-nav:     #363b39;
  --color-bg:      #ffffff;
  --color-bg-alt:  #f8f8f8;
  --color-bg-input:#f4f4f5;
  --max-width:     1200px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  background-color: #f3f3f3;
  color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   UTILITY
   ============================================================ */
.hidden { display: none !important; }

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

/* ============================================================
   NAVBAR
   ============================================================ */
.main-nav {
  position: static;
  width: 100%;
  background: #fff;
  padding: 16px 28px;
  z-index: 200;
}

/* Mobile row: logo left, hamburger right */
.nav-mobile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Desktop grid: hidden on mobile */
.nav-desktop-grid {
  display: none;
}

/* Nav links */
.nav-link {
  display: flex;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-nav);
  transition: opacity 0.15s;
}
.nav-link:hover { opacity: 0.7; }

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

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-nav);
  font-family: inherit;
  transition: opacity 0.15s;
}

.nav-dropdown-trigger:hover { opacity: 0.7; }

.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 20px 12px 12px;
  gap: 8px;
  z-index: 300;
  flex-direction: column;
  min-width: 180px;
}

.nav-dropdown:hover .nav-dropdown-panel { display: flex; }

.nav-dropdown-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
  font-family: inherit;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}

.nav-dropdown-item img {
  height: 36px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.2s;
}

.nav-dropdown-item:hover { border-color: #e5e5e5; background: #f8f8f8; }
.nav-dropdown-item:hover img { filter: grayscale(0%); }

/* Mobile brand items */
.mobile-menu-brands {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 0 16px;
}

.mobile-menu-brands-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-menu-brands-grid {
  display: flex;
  gap: 16px;
}

.mobile-menu-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  background: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.15s;
  position: relative;
}

.mobile-menu-brand-link img {
  height: 28px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
}

.mobile-menu-brand-link:hover { background: #f4f4f5; }

/* Hamburger button */
.menu-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--color-nav);
  display: flex;
  align-items: center;
}

.icon-close { display: none; }

.main-nav.menu-open .icon-hamburger { display: none; }
.main-nav.menu-open .icon-close     { display: block; }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 100;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  gap: 8px;
  overflow-y: auto;
}

.main-nav.menu-open .mobile-menu {
  display: flex;
}

.mobile-menu-link {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-nav);
  padding: 20px 0;
  text-align: center;
  cursor: pointer;
}

/* Logo visibility */
.logo-mobile  { display: block; }
.logo-desktop { display: none; }

/* ============================================================
   DESKTOP NAV  ≥ 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .main-nav {
    padding: 30px 120px;
  }

  .nav-mobile-row   { display: none; }
  .mobile-menu      { display: none !important; }

  .nav-desktop-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .logo-mobile  { display: none; }
  .logo-desktop { display: block; }
}

/* ============================================================
   WELCOME VIDEO
   ============================================================ */
.welcome-video {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  margin-bottom: 40px;
}

.welcome-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-skeleton {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #d4d4d4;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.video-overlay h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  max-width: 896px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .welcome-video {
    height: 615px;
    margin-bottom: 64px;
  }
  .video-overlay {
    padding: 0 32px;
  }
  .video-overlay h2 {
    font-size: 56px;
  }
}

/* ============================================================
   SECTION (shared wrapper)
   ============================================================ */
.section {
  width: 100%;
  padding: 24px 0;
  background: #f3f3f3;
}

.section--white {
  background: #fff;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.section--mb-sm  { margin-bottom: 40px; }
.section--mb-pl  { margin-bottom: 60px; }
.section--mb-ob  { margin-bottom: 60px; }

@media (min-width: 768px) {
  .section          { padding: 56px 0; }
  .section-inner    { padding: 0 24px; }
  .section--mb-sm   { margin-bottom: 64px; }
  .section--mb-pl   { margin-bottom: 80px; }
  .section--mb-ob   { margin-bottom: 100px; }
}

@media (min-width: 1024px) {
  .section-inner { padding: 0 32px; }
}

/* ============================================================
   HEADINGS (shared sizes)
   ============================================================ */
.heading-lg {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  line-height: 1.2;
}

.heading-md {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  line-height: 43px;
  margin-bottom: 16px;
}

.body-text {
  font-size: 14px;
  color: var(--color-text);
  text-align: justify;
  line-height: 16px;
}

@media (min-width: 768px) {
  .heading-lg { font-size: 56px; line-height: 1.2; }
  .heading-md { font-size: 36px; }
  .body-text  { font-size: 20px; line-height: 28px; }
}

/* ============================================================
   WHO WE ARE  (#about)
   ============================================================ */
.who-we-are-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.who-we-are-row .heading-lg {
  width: 100%;
}

@media (min-width: 768px) {
  .who-we-are-row {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .who-we-are-row .heading-lg {
    width: 235px;
    flex-shrink: 0;
    line-height: 66.9px;
  }
}

/* ============================================================
   PRODUCTS  (#products)
   ============================================================ */
.products-intro {
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .products-intro { margin-bottom: 26px; }
}

.products-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .products-cards {
    flex-direction: row;
    margin-top: 64px;
    margin-bottom: 120px;
  }
}

.product-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  width: 100%;
  margin-bottom: 16px;
}

@media (min-width: 1024px) {
  .product-card {
    flex: 1;
    margin-bottom: 0;
  }
}

.product-card-image {
  width: 100%;
  height: 290px;
  overflow: hidden;
}

.product-card-image img {
  width: 278px;
  height: 290px;
  object-fit: cover;
}

.product-card-image--right {
  display: flex;
  justify-content: flex-end;
}

.product-card-image--left {
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .product-card-image {
    height: 500px;
  }
  .product-card-image img {
    width: 100%;
    height: 500px;
  }
}

.product-card-body {
  padding: 16px 24px;
}

.product-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 14px;
  color: var(--color-text);
  text-align: justify;
}

@media (min-width: 768px) {
  .product-card-body {
    padding: 48px 64px;
  }
  .product-card-body h3 { font-size: 36px; }
  .product-card-body p  { font-size: 20px; }
}

/* Process icons grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  justify-items: center;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 20px;
  max-width: 260px;
}

.process-item svg {
  width: 44px;
  height: 44px;
}

.process-item p {
  font-size: 12px;
  text-align: center;
  line-height: 18px;
}

@media (min-width: 768px) {
  .process-item {
    gap: 32px;
  }
  .process-item svg {
    width: 82px;
    height: 82px;
  }
  .process-item p {
    font-size: 18px;
    line-height: 28px;
  }
}

/* ============================================================
   PRIVATE LABEL & OWN BRANDS (shared layout)
   ============================================================ */
.two-col-row {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.two-col-text {
  width: 100%;
}

.two-col-text p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 16px;
  margin-bottom: 32px;
  text-align: left;
}

.two-col-image {
  position: relative;
  width: 300px;
  height: 278px;
  flex-shrink: 0;
}

.two-col-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.btn-black {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  background: #000;
  color: #fff;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity 0.15s;
}

.btn-black:hover { opacity: 0.85; }

@media (min-width: 640px) {
  .btn-black { width: 343px; }
}

@media (min-width: 768px) {
  .two-col-image { height: 290px; }
  .two-col-text p { font-size: 20px; line-height: 28px; text-align: justify; }
}

@media (min-width: 1024px) {
  .two-col-row { flex-direction: row; }
  .two-col-text { max-width: 650px; }
}

/* ============================================================
   OWN BRANDS — brand banners
   ============================================================ */
.brands-subtitle {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.brand-banner {
  border: 1px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.brand-banner:hover {
  border-color: #e5e5e5;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.brand-banner-image {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.brand-banner-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.2s;
}

.brand-banner:hover .brand-banner-image img {
  filter: grayscale(0%);
}

.brand-banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 32px);
  margin: 0 16px 20px;
  height: 48px;
  border: 2px solid #000;
  background: transparent;
  color: #000;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  position: relative;
  text-decoration: none;
}

.brand-banner-btn:hover {
  background: #000;
  color: #fff;
}

.coming-soon-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #2e2e2e;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  text-transform: none;
}

.coming-soon-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #2e2e2e;
}

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

/* ============================================================
   FACTORY  (#factory)
   ============================================================ */
.factory-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 16px;
}

.factory-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.factory-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.factory-row-text {
  width: 100%;
}

.factory-row-image {
  position: relative;
  width: 100%;
  height: 302px;
}

.factory-row-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

@media (min-width: 768px) {
  .factory-heading {
    font-size: 56px;
    margin-bottom: 26px;
  }
  .factory-rows  { gap: 64px; }
  .factory-row   { flex-direction: row; gap: 56px; }
  .factory-row-text { width: 50%; }
  .factory-row-image { width: 50%; }
}

/* ============================================================
   CONTACT  (#contact)
   ============================================================ */
.contact-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.contact-layout {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-illustration {
  width: 100%;
}

.contact-illustration-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1.4;
  margin-top: 24px;
}

.contact-illustration-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-form-card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.contact-form-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #3d3d3d;
  text-align: center;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.contact-form-header p {
  font-size: 16px;
  color: #5f5f5f;
  text-align: center;
  letter-spacing: 0.8px;
}

/* Form elements */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 100%;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--color-bg-input);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--color-dark);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-nav);
}

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

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

.form-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--color-dark);
  cursor: pointer;
  line-height: 1.4;
}

.form-checkbox {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-nav);
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}

.btn-submit:hover { opacity: 0.85; }

.form-privacy-note {
  font-size: 14px;
  color: #585858;
  text-align: center;
  letter-spacing: 0.7px;
  width: 100%;
}

@media (min-width: 768px) {
  .contact-heading { font-size: 56px; margin-bottom: 0; }
  .contact-layout  { flex-direction: row; }
  .contact-illustration { width: 50%; }
  .contact-illustration-inner { margin-top: 48px; }
  .contact-form-card { width: 50%; padding: 24px; gap: 30px; }
  .form-footer { gap: 16px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  width: 100%;
  background: var(--color-bg-alt);
  padding: 48px 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-logo {
  margin-bottom: 16px;
}

.footer-copyright {
  font-size: 14px;
  color: rgba(54,59,57,0.7);
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-nav);
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--color-nav);
  line-height: 1.25;
  transition: opacity 0.15s;
}

.footer-nav a:hover { opacity: 0.7; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact p {
  font-size: 14px;
  color: var(--color-nav);
  line-height: 1.25;
}

@media (min-width: 768px) {
  .site-footer { padding: 64px 0; }
  .footer-inner { padding: 0 24px; }
  .footer-section h3 { font-size: 20px; }
  .footer-nav a { font-size: 20px; }
  .footer-contact p { font-size: 20px; }
}

@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 32px;
  }
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  max-width: 320px;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--success { background: #18a558; }
.toast--error   { background: #dc2626; }
