/* ========================================
   GRUPO MINVEN – LANDING PAGE – From Figma
   Design: 1440px wide, 5498px tall
   ======================================== */

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

:root {
  --dark-bg: #16100F;
  --orange-panel: #FF4C00;
  --orange-btn: #EF7B1B;
  --accent: #F17123;
  --orange-footer: #FF8A00;
  --white: #FFFFFF;
  --off-white: #FFFDFB;
  --heading: #1E222B;
  --dark-heading: #2A2F3A;
  --grey-bg: #F9F9F9;
  --border-nav: #828282;
  --line-color: #E2E2E2;
  --products-bg: #1B1B1B;
  --contact-bg: #202325;
  --placeholder: #979C9E;
  --font-display: 'Anton', sans-serif;
  --font-ui: 'Visby CF', 'Work Sans', sans-serif;
  --font-copy: 'Noto Sans', sans-serif;
  --font-accent: 'Montserrat', sans-serif;
  --font-heading: 'Roboto', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--dark-bg);
  color: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; border: none; outline: none; }

/* ===================== NAVBAR ===================== */
/* Figma: border #828282, px 98, py 20, justify-between */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 98px;
  border: 1px solid var(--border-nav);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 16, 15, 0.95);
  backdrop-filter: blur(8px);
}

.navbar__logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar__link {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
  white-space: nowrap;
  transition: color 0.2s;
}
.navbar__link--active { color: var(--accent); }
.navbar__link:hover { color: var(--accent); }

/* Language toggle button */
.lang-btn {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.lang-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* ===================== HERO ===================== */
/* Figma: 1519×748, dark left, orange right, helmet image */
.hero {
  position: relative;
  width: 100%;
  height: 764px;
  overflow: hidden;
}

.hero__dark-bg {
  position: absolute;
  top: 0; left: -71px;
  width: 1117px; height: 764px;
  background: var(--dark-bg);
  z-index: 1;
}

.hero__orange-bg {
  position: absolute;
  top: 0; right: 0;
  width: 465px; height: 764px;
  background: var(--orange-panel);
  z-index: 1;
}

.hero__ellipse-top {
  position: absolute;
  width: 559px; height: 559px;
  right: 120px; top: -199px;
  z-index: 2;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,76,0,0.35) 0%, transparent 70%);
}

.hero__ellipse-bottom {
  position: absolute;
  width: 588px; height: 588px;
  left: -252px; top: 736px;
  z-index: 2;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,76,0,0.35) 0%, transparent 70%);
}

.hero__worker {
  position: absolute;
  top: 128px;
  left: 571px;
  width: 982px;
  height: 655px;
  z-index: 3;
  border: none;
  outline: none;
}
.hero__worker img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__content {
  position: absolute;
  top: 224px; left: 98px;
  z-index: 5;
  max-width: 716px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 118px;
  line-height: 122px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__text {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: var(--white);
  max-width: 587px;
  margin-bottom: 24px;
}

/* CTA Button (shared) */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 21px;
  line-height: 24px;
  color: var(--white);
  background: var(--orange-btn);
  padding: 20px 40px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-cta:hover { background: #d96a0e; }

/* ===================== ABOUT / ¿POR QUÉ MINVEN? ===================== */
/* Figma: image left 530×585, text right starting at x=609, white bg */
.about {
  display: flex;
  align-items: stretch;
  background: var(--white);
  min-height: 585px;
  position: relative;
}

.about__media {
  width: 551px;
  min-width: 551px;
  min-height: 585px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 5px;
  position: relative;
  background: #ececec;
}

.about__video,
.about__video-fallback,
.about__video-fallback img {
  width: 100%;
  height: 100%;
}

.about__video,
.about__video-fallback {
  position: absolute;
  inset: 0;
}

.about__video,
.about__video-fallback img {
  object-fit: cover;
  object-position: center;
}

.about__video {
  background: #ececec;
  transition: opacity 0.2s ease;
}

.about__video--inactive {
  opacity: 0;
  pointer-events: none;
}

.about__content {
  flex: 1;
  padding: 92px 80px 60px 79px;
  color: var(--heading);
}

.about__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 60px;
  line-height: 88px;
  color: var(--heading);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.about__copy {
  max-width: 711px;
  display: grid;
  gap: 22px;
  margin-bottom: 46px;
}

.about__text {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: var(--heading);
}

.about__text--lead {
  font-weight: 700;
}

.about__text strong {
  font-weight: 800;
}

.about__features {
  display: flex;
  gap: 42px;
  margin-bottom: 12px;
}

.about__feature {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: #000000;
}

.about__feature--active {
  color: #000000;
}

.about__features-line {
  width: 100%;
  max-width: 834px;
  height: 2px;
  background: var(--line-color);
  position: relative;
}

.about__features-line-active {
  position: absolute;
  top: 0; left: 0;
  width: 191px;
  height: 2px;
  background: var(--accent);
}

/* ===================== PRODUCTS ===================== */
/* Figma: bg #1B1B1B, 1440×1647, cards 417×587 in 3-column grid, 8px gap */
.products {
  background: var(--products-bg);
  padding: 112px 84px 112px;
}

.products__header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  margin-bottom: 56px;
}

.products__tag {
  border: 1px solid var(--orange-footer);
  border-radius: 24px;
  padding: 12px 32px;
  flex-shrink: 0;
}

.products__tag-label {
  font-family: var(--font-copy);
  font-weight: 400;
  font-size: 16px;
  color: var(--orange-footer);
}

.products__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 60px;
  color: var(--white);
  text-align: right;
  flex: 1;
  letter-spacing: 0.8px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.products__card {
  height: 587px;
  position: relative;
  overflow: hidden;
}

/* Image cards */
.products__card--img {
  background: #cdcfd0;
}

.products__card--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text cards - white background */
.products__card--text {
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 78px 37px;
  color: #1a1a1a;
}

.products__card--text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -1.92px;
  color: #1a1a1a;
}

.products__card--text p {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: #1a1a1a;
}

/* ===================== DISTRIBUTORS ===================== */
/* Figma: bg #F9F9F9, 1440×536, centered text */
.distributors {
  background: var(--grey-bg);
  padding: 80px 132px 45px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.distributors__dots {
  position: absolute;
  left: -64px;
  bottom: 40px;
  width: 257px;
  opacity: 0.3;
  pointer-events: none;
}

.distributors__content {
  max-width: 795px;
  position: relative;
  z-index: 1;
}

.distributors__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 67px;
  line-height: 88px;
  color: var(--heading);
  margin-bottom: 40px;
}

.distributors__text {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 36px;
  line-height: 39px;
  color: var(--heading);
  max-width: 795px;
  margin-bottom: 35px;
}

.distributors__visual {
  width: clamp(280px, 36vw, 501px);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 16px;
  margin-right: -132px;
  position: relative;
  z-index: 1;
}

.distributors__visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.btn-cta--dist {
  background: var(--accent);
}

/* ===================== CONTACT ===================== */
/* Figma: bg #202325, 1440×1027, title lowercase Roboto Medium 64px */
.contact {
  display: flex;
  align-items: flex-start;
  padding: 135px 131px;
  gap: 100px;
  background: var(--contact-bg);
}

.contact__left {
  flex: 1;
  max-width: 563px;
}

.contact__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.16;
  color: var(--white);
  margin-bottom: 26px;
  text-transform: lowercase;
}

.contact__subtitle {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 32px;
  line-height: 37px;
  color: var(--white);
  max-width: 442px;
}

.contact__form {
  width: 430px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form__group label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: var(--white);
}

.form__group input,
.form__group textarea {
  font-family: var(--font-copy);
  font-size: 16px;
  font-weight: 400;
  padding: 12px 32px;
  border: 1px solid var(--white);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--accent);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--placeholder);
}

.form__group textarea {
  min-height: 197px;
  resize: vertical;
}

.form__actions {
  display: flex;
  justify-content: flex-end;
}

/* Submit button - white bg, black text, rounded, border */
.btn-submit {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 1.6px;
  color: #000000;
  background: var(--white);
  border: 1px solid #2c2c2c;
  border-radius: 8px;
  padding: 12px 40px;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 272px;
  text-align: center;
}
.btn-submit:hover { opacity: 0.85; }

/* Notification Box */
.form__notification {
  font-family: var(--font-copy);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 16px;
  transition: opacity 0.3s ease;
}
.form__notification--success {
  background-color: #2e7d32; /* A slightly darker, elegant green */
}
.form__notification--error {
  background-color: #d32f2f; /* A slightly darker, elegant red */
}

/* ===================== FOOTER ===================== */
/* Figma: bg #ef4f26, text #2A2F3A, 1440×889 */
.footer {
  background: #ef4f26;
  padding: 145px 32px 60px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1376px;
  margin: 0 auto 64px;
  gap: 60px;
}

.footer__quote p {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 56px;
  line-height: 1.14;
  color: var(--dark-heading);
  max-width: 676px;
}

.footer__address {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 379px;
}

.footer__address p {
  font-family: var(--font-copy);
  font-size: 20px;
  line-height: 27px;
  color: var(--dark-heading);
  padding: 10px;
}

.footer__address-block {
  font-size: 20px;
  line-height: 27px;
}

.footer__address strong {
  font-family: var(--font-copy);
  color: var(--dark-heading);
  font-weight: 700;
}

.footer__divider {
  max-width: 1366px;
  margin: 0 auto 60px;
  height: 1px;
  background: var(--dark-heading);
}

.footer__bottom {
  max-width: 1366px;
  margin: 0 auto;
  overflow: hidden;
}

.footer__logo-big {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1380px;
  margin: 0 auto;
  pointer-events: none;
  user-select: none;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1440px) {
  .hero__worker {
    left: auto;
    right: -2%;
    width: 68%;
  }
}

@media (max-width: 1200px) {
  .navbar { padding: 20px 48px; }
  .hero__title { font-size: 80px; line-height: 84px; }
  .hero__content { left: 60px; }
  .about__media { width: 44%; min-width: 420px; }
  .about__content { padding: 60px 40px; }
  .about__title { font-size: 50px; line-height: 60px; }
  .products { padding: 80px 48px; }
  .distributors { padding: 72px 48px 40px; }
  .distributors__visual { width: 360px; margin-top: -24px; }
  .distributors__text { font-size: 28px; line-height: 34px; }
  .contact { padding: 80px 60px; gap: 60px; }
  .contact__title { font-size: 50px; line-height: 56px; }
  .distributors__title { font-size: 50px; }
  .footer__quote p { font-size: 42px; }
}

@media (max-width: 1024px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .products__card { height: 450px; }
  .products__card--text h3 { font-size: 36px; }
  .products__card--text p { font-size: 18px; }
}

@media (max-width: 900px) {
  .navbar { padding: 16px 24px; gap: 16px; }
  .navbar__links { gap: 20px; }
  .navbar__link { font-size: 14px; }

  .hero { height: auto; min-height: 500px; }
  .hero__title { font-size: 60px; line-height: 64px; }
  .hero__content { position: relative; top: auto; left: auto; padding: 60px 32px; }
  .hero__worker { width: 100%; opacity: 0.3; height: 100%; top: 0; left: 0; }
  .hero__orange-bg { display: none; }
  .hero__dark-bg { width: 100%; left: 0; }
  .hero__ellipse-top, .hero__ellipse-bottom { display: none; }

  .about { flex-direction: column; }
  .about__media { width: 100%; min-width: unset; height: 350px; }
  .about__content { padding: 40px 24px; }
  .about__title { font-size: 40px; line-height: 48px; }
  .about__features { flex-wrap: wrap; gap: 20px; }

  .distributors { flex-direction: column; padding: 60px 24px; }
  .distributors__visual { width: min(100%, 420px); margin: 0 auto; }

  .contact { flex-direction: column; padding: 60px 24px; gap: 40px; }
  .contact__title { font-size: 40px; line-height: 46px; }
  .contact__subtitle { font-size: 22px; line-height: 28px; }
  .contact__form { width: 100%; }

  .footer__top { flex-direction: column; }
  .footer__quote p { font-size: 36px; line-height: 42px; }
}

@media (max-width: 680px) {
  .navbar { flex-wrap: wrap; justify-content: center; gap: 12px; padding: 12px 16px; }

  .hero__title { font-size: 42px; line-height: 46px; }
  .hero__text { font-size: 15px; }

  .products__grid { grid-template-columns: 1fr; }
  .products__card { height: 380px; }
  .products__title { font-size: 32px; line-height: 40px; text-align: left; }
  .products__card--text h3 { font-size: 32px; }
  .products__card--text p { font-size: 16px; }

  .distributors { padding: 60px 24px; }
  .distributors__title { font-size: 36px; line-height: 44px; }
  .distributors__text { font-size: 18px; line-height: 26px; }
  .distributors__visual { width: min(100%, 320px); }

  .contact__title { font-size: 32px; line-height: 38px; }
  .contact__subtitle { font-size: 18px; }

  .btn-submit { width: 100%; }

  .footer__quote p { font-size: 28px; line-height: 34px; }
  .footer__address p { font-size: 16px; }
}
