
/* ====== CRITICAL OVERRIDES ====== */

/* :root variables */
:root {
  --font-family: "Open Sans" !important;
  --font-family-default: system-ui, -apple-system, sans-serif !important;
  --font-size: 16px !important;
  --font-weight: 400 !important;
  --line-height: 1.6 !important;
}

/* Body */
body {
  font-family: "Open Sans", system-ui, -apple-system, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  text-align: left !important;
  overflow-x: hidden !important;
}

/* No underlines */
*:not(style):not(script) a,
*:not(style):not(script) a:link,
*:not(style):not(script) a:visited,
*:not(style):not(script) a:hover,
*:not(style):not(script) a:active,
*:not(style):not(script) a:focus {
  text-decoration: none !important;
  outline: none !important;
}

/* Fixed header */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
body { padding-top: 72px !important; }
@media (min-width: 1024px) { body { padding-top: 80px !important; } }
@media (max-width: 640px) { body { padding-top: 64px !important; } }

/* Header text sizes */
.nav__link {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

/* Marketplaces button */
.btn--marketplaces, .header__marketplaces {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 0.875rem !important;
  border-radius: 999px !important;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  background: #6BAE7E !important;
  color: #fff !important;
  border: 1px solid #6BAE7E !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}
.btn--marketplaces:hover, .header__marketplaces:hover {
  background: #5a9e6e !important;
  border-color: #5a9e6e !important;
  color: #fff !important;
}

/* Nav opt suffix */
.nav__opt-suffix {
  font-size: 0.7em !important;
  opacity: 0.6 !important;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  font-size: 0.875rem !important;
  color: #6b6b6b !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  max-width: 100% !important;
}
.breadcrumbs a { color: #6b6b6b !important; text-decoration: none !important; }
.breadcrumbs a:hover { color: #1a1a1a !important; }
.breadcrumbs span[aria-current] { color: #1a1a1a !important; font-weight: 500 !important; }
.breadcrumbs span[aria-hidden] { color: #6b6b6b !important; opacity: 0.5 !important; }

/* Hero */
.hero { padding-top: 2rem !important; }

/* Header inner */
.header__inner {
  
}

/* Phone breakpoint */
.header__phone { display: none !important; }
@media (min-width: 1366px) {
  .header__phone { display: inline-flex !important; }
}

/* Header — content centered, not at edges */
.header__inner {
  max-width: 1280px !important;
  margin-inline: auto !important;
}


/* ====== STYLES MOVED FROM HTML <style> BLOCKS ====== */

/* Link reset */
a { text-decoration: none; color: inherit; }
a:hover { color: #4A7C59; }
.nav__link, .logo, .footer__list a, .footer__platforms a,
.btn, .mp-card, .product-compact, .news-card, .faq-trigger,
.mobile-nav__link, .breadcrumbs a, .article__source a,
.mp-mapping__note a, .article__cta-buttons a {
  text-decoration: none !important;
}

/* Fixed header */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
body { padding-top: 72px !important; }
@media (min-width: 1024px) { body { padding-top: 80px !important; } }
@media (max-width: 640px) { body { padding-top: 64px !important; } }

/* Header text sizes */
.nav__link {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}
.logo__brand, .logo__sub {
  display: none !important;
}
.logo__img img {
  width: 120px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}
@media (min-width: 768px) {
  .logo__img img { width: 160px !important; }
}
.logo__img {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  overflow: visible !important;
}
.header__phone {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  padding: 0.625rem 1rem !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

/* Marketplaces button */
.btn--marketplaces, .header__marketplaces {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 0.875rem !important;
  border-radius: 999px !important;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  background: #6BAE7E !important;
  color: #fff !important;
  border: 1px solid #6BAE7E !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}
.btn--marketplaces:hover, .header__marketplaces:hover {
  background: #5a9e6e !important;
  border-color: #5a9e6e !important;
  color: #fff !important;
}

/* Nav opt suffix */
.nav__opt-suffix {
  font-size: 0.7em !important;
  opacity: 0.6 !important;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  font-size: 0.875rem !important;
  color: #6b6b6b !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  max-width: 100% !important;
}
.breadcrumbs a { color: #6b6b6b !important; text-decoration: none !important; }
.breadcrumbs a:hover { color: #1a1a1a !important; }
.breadcrumbs span[aria-current] { color: #1a1a1a !important; font-weight: 500 !important; }
.breadcrumbs span[aria-hidden] { color: #6b6b6b !important; opacity: 0.5 !important; }

/* Hero */
.hero { padding-top: 2rem !important; }

/* Prevent horizontal scroll */
html, body { max-width: 100% !important; overflow-x: hidden !important; }

/* Header inner */
.header__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
}
.header__actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-shrink: 0 !important;
}
.logo {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* Phone breakpoint */
.header__phone { display: none !important; }
@media (min-width: 1366px) {
  .header__phone { display: inline-flex !important; }
}

/* Hero 2x2 grid */
.hero__grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 400px;
  margin-inline: auto;
}
.hero__grid-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid #ebebeb;
  background: #fff;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: block;
}
.hero__grid-item:hover {
  border-color: #4A7C59;
  transform: translateY(-2px);
}
.hero__grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__grid-label {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: rgba(255,255,255,0.95);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* About blocks */
.about-block { margin-top: 2.5rem !important; }
.about-block:first-of-type { margin-top: 1.5rem !important; }
.about-block__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.about-block__num {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #4A7C59;
  opacity: 0.4;
  line-height: 1;
}
.about-block__title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.about-block__desc {
  color: rgba(255, 255, 255, 0.7);
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}

/* Card styles for dark background */
.benefit-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(2px);
}
.benefit-card h3 { color: #fff; }
.benefit-card p { color: rgba(255,255,255,0.7); }
.benefit-card:hover {
  border-color: rgba(255,255,255,0.15) !important;
  background: rgba(255,255,255,0.07) !important;
}
.why-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(2px);
}
.why-card h3 { color: #fff; }
.why-card p { color: rgba(255,255,255,0.7); }

/* Product dropdown */
.nav__item--has-dropdown { position: relative; }
.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.15);
  padding: 0.5rem;
  min-width: 200px;
  z-index: 100;
  flex-direction: column;
  gap: 0;
}
.nav__item--has-dropdown:hover .nav__dropdown { display: flex; }
.nav__dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #4a4a4a !important;
  border-radius: 0.375rem;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.nav__dropdown a:hover { background: #f5f5f5; color: #1a1a1a !important; }

/* About modals */
.about-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.about-modal.is-open,
.about-modal.is-closing { display: flex; }
.about-modal.is-open {
  background: rgba(0,0,0,0.6);
  opacity: 1;
}
.about-modal.is-closing {
  background: rgba(0,0,0,0);
  opacity: 0;
  pointer-events: none;
}
.about-modal__content {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform-origin: var(--origin-x, 50%) var(--origin-y, 50%);
  will-change: transform, opacity, clip-path;
}
.about-modal.is-open .about-modal__content {
  animation: about-modal-pull-in 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.about-modal.is-closing .about-modal__content {
  animation: about-modal-pull-out 0.26s cubic-bezier(0.7, 0, 0.84, 0) both;
}
@keyframes about-modal-pull-in {
  0% {
    opacity: 0;
    transform: translate3d(var(--pull-x, 0), var(--pull-y, 0), 0) scale(0.14, 0.08) rotate(-1deg);
    clip-path: inset(44% 46% 44% 46% round 1rem);
  }
  58% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.035, 0.985) rotate(0.45deg);
    clip-path: inset(0 0 0 0 round 1rem);
  }
  78% {
    transform: scale(0.992, 1.012) rotate(-0.25deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
    clip-path: inset(0 0 0 0 round 1rem);
  }
}
@keyframes about-modal-pull-out {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0);
    clip-path: inset(0 0 0 0 round 1rem);
  }
  42% {
    transform: scale(1.018, 0.99) rotate(0.35deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--pull-x, 0), var(--pull-y, 0), 0) scale(0.12, 0.07) rotate(-0.8deg);
    clip-path: inset(45% 47% 45% 47% round 1rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-modal,
  .about-modal__content {
    transition: none;
    animation: none !important;
  }
}
.about-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-modal__close:hover { background: #e5e5e5; }
.about-modal__title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}
.about-modal__body {
  color: #4a4a4a;
  line-height: 1.7;
  font-size: 0.95rem;
}
.about-modal__body p { margin-bottom: 0.75rem; }
.about-card-clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.about-card-clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.2);
}

/* Floating button fix */
.floating {
  transform: none !important;
  transition: opacity 0.4s ease !important;
  position: fixed !important;
}
.floating.is-visible { transform: none !important; }
.floating__expanded {
  transform: none !important;
  transition: opacity 0.3s ease !important;
}
.floating__expanded.is-open { transform: none !important; }
.floating__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.floating__icon--close { width: 1.25rem; height: 1.25rem; }
.floating__btn--main.is-open .floating__icon--close {
  transform: translate(-50%, -50%);
}

/* Section spacing */
.section { padding-block: 3rem !important; }
@media (min-width: 768px) { .section { padding-block: 4rem !important; } }
@media (min-width: 1024px) { .section { padding-block: 5rem !important; } }
@media (min-width: 1440px) { .section { padding-block: 6rem !important; } }

/* Image fixes */
@media (max-width: 1023px) {
  .hero__main-img { max-width: 400px; margin-inline: auto; aspect-ratio: 5 / 6; }
  .hero__visual { max-width: 500px; margin-inline: auto; }
  .product-compact__image { max-height: 280px; aspect-ratio: 4 / 3; }
  .product-detail__image-wrap { max-width: 400px; margin-inline: auto; }
  .news-card__image { max-height: 200px; }
  .article__hero { max-width: 600px; margin-inline: auto; }
  .article__hero img { max-height: 350px; object-fit: cover; }
  .article__gallery-item { max-height: 250px; }
  .article__gallery-item img { max-height: 250px; object-fit: cover; }
}
@media (max-width: 640px) {
  .hero__main-img { max-width: 100%; }
  .product-compact__image { max-height: 220px; }
  .article__hero img { max-height: 250px; }
}
