:root {
  --green-900: #163a26;
  --green-700: #23623f;
  --green-600: #2e7d4f;
  --green-500: #3f9d63;
  --lime-400: #a8d94a;
  --cream: #faf6ec;
  --cream-dark: #f0e9d8;
  --ink: #1c1c1c;
  --muted: #5c6b60;
  --white: #ffffff;
  --meli-yellow: #FFE600;
  --meli-yellow-dark: #FFD400;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-md: 0 10px 30px rgba(22, 58, 38, 0.12);
  --shadow-lg: 0 20px 50px rgba(22, 58, 38, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: inherit; line-height: 1.15; margin: 0 0 16px; }

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

/* PROMO BAR */
.promo-bar {
  background: var(--meli-yellow);
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 9px 16px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
  gap: 10px;
  text-align: center;
}
.btn-meli {
  background: var(--meli-yellow);
  color: var(--green-900);
  box-shadow: var(--shadow-md);
}
.btn-meli:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--meli-yellow-dark); }
.btn-meli-logo { height: 20px; width: auto; flex-shrink: 0; }
.btn-large { padding: 17px 30px; font-size: 15.5px; }
.btn-block { width: 100%; }

.cta-wrap { display: flex; justify-content: center; margin-top: 36px; }

/* HERO */
.hero {
  padding: 110px 0;
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(11, 28, 18, 0.88) 0%, rgba(11, 28, 18, 0.66) 38%, rgba(11, 28, 18, 0.22) 62%, rgba(11, 28, 18, 0) 80%),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center bottom;
}
.hero-inner {
  width: 100%;
  padding-left: clamp(24px, 10vw, 150px);
  padding-right: 24px;
}
.hero-text { max-width: 560px; }
.hero-logo {
  height: 44px;
  width: auto;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  color: var(--white);
  font-weight: 800;
}
.hero h1 .highlight { color: var(--lime-400); }
.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
  margin-bottom: 32px;
}

/* SECTION HEAD */
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.eyebrow {
  display: block;
  color: var(--green-600);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 34px); color: var(--green-900); }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

section { padding: 72px 0; }

/* VIDEO */
.video-section { background: var(--green-900); color: var(--white); }
.video-section .eyebrow { color: var(--lime-400); }
.video-section .section-head h2 { color: var(--white); }
.video-section .section-head p { color: rgba(255,255,255,0.75); }
.video-wrapper { max-width: 820px; margin: 0 auto; }
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* STEPS */
.steps { background: var(--white); }
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.step-row {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  width: 100%;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--lime-400);
  font-weight: 800;
  font-size: 28px;
}
.step-row p { color: var(--muted); font-size: 15.5px; margin: 0; text-align: left; }
.steps-visual img {
  width: 100%;
}

/* CATALOG MARQUEE */
.catalog { background: var(--cream); padding-bottom: 56px; }
.catalog .section-head { margin-bottom: 40px; }
.catalog .cta-wrap { margin-top: 40px; }
.marquee {
  width: 100%;
  overflow: hidden;
  padding-bottom: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  height: 320px;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* WHY */
.why { background: var(--cream-dark); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-md);
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.why-card h3 { font-size: 17px; color: var(--green-900); margin: 0 0 8px; }
.why-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* FOOTER CTA */
.footer-cta {
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
  color: var(--white);
  text-align: center;
  padding: 76px 0;
}
.footer-cta .eyebrow { color: var(--lime-400); }
.footer-cta h2 { color: var(--white); font-size: clamp(24px, 3.2vw, 36px); max-width: 620px; margin: 0 auto 14px; }
.footer-cta p { color: rgba(255,255,255,0.8); font-size: 16.5px; max-width: 480px; margin: 0 auto 32px; }

/* SITE FOOTER */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 24px 0 32px;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(11, 28, 18, 0.55) 0%, rgba(11, 28, 18, 0.88) 78%),
      url("../img/hero.jpg");
    background-size: cover;
    background-position: center bottom;
    min-height: 560px;
  }
  .hero-inner { padding-left: 24px; }
  .hero-text { max-width: 100%; }
  .steps-layout { grid-template-columns: 1fr; gap: 32px; }
  .steps-visual { order: -1; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  section { padding: 52px 0; }
  .hero { padding: 64px 0; min-height: 500px; }
  .btn-large { padding: 15px 22px; font-size: 14.5px; }
  .marquee-item { height: 230px; width: auto; }
  .marquee-track { gap: 16px; }
}
