/* ===========================================
   CultivosVerde — Landing
   Brand palette from cultivosverde.com.ar
   =========================================== */

:root {
  --primary:   #078a24;
  --secondary: #2cd651;
  --accent:    #198754;
  --bg:        #f8f9fa;
  --surface:   #ffffff;
  --text:      #212529;
  --muted:     #6c757d;
  --radius:    8px;
  --shadow:    0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ---------- RESET ---------- */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- UTILITY ---------- */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text--primary {
  color: var(--primary);
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent);
}

.btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--instagram {
  background: #E1306C;
  color: #fff;
  border-color: #E1306C;
}

.btn--instagram:hover {
  background: #C6235A;
  border-color: #C6235A;
}

.btn--email {
  background: #3B82F6;
  color: #fff;
  border-color: #3B82F6;
}

.btn--email:hover {
  background: #2563EB;
  border-color: #2563EB;
}

.btn--light {
  border-color: #fff;
  color: #fff;
}

.btn--light:hover {
  background: #fff;
  color: var(--primary);
}

.btn--lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

/* ---------- HEADER ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo__mark {
  font-size: 1.6rem;
}

.logo__text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.logo__text--alt {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--primary);
}

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

/* ---------- HERO ---------- */

.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(135deg, #eaf7ec 0%, var(--bg) 60%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(7, 138, 36, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.hero__tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* ---------- BANNER ---------- */

.banner {
  background: var(--primary);
  color: #fff;
  padding: 1.25rem 0;
}

.banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.banner__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.banner__icon {
  font-size: 1.15rem;
}

.banner__label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.banner__divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.35);
}

/* ---------- SECTION HEADERS ---------- */

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- FEATURES ---------- */

.features {
  padding: 5rem 0;
  background: var(--surface);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ---------- CARD ---------- */

.card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.card__text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- GALLERY ---------- */

.gallery {
  padding: 5rem 0;
  background: var(--bg);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gallery__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery__img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ---------- CTA ---------- */

.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.cta__inner {
  text-align: center;
}

.cta__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta__text {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta__channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- CONTACT CARD ---------- */

.contact-card {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-card__icon {
  font-size: 2rem;
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.contact-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 240px;
}

.contact-card .btn {
  margin-top: 0.25rem;
}

/* ---------- FOOTER ---------- */

.footer {
  padding: 2.5rem 0;
  background: var(--text);
  color: #adb5bd;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer__brand .logo__text {
  color: #f8f9fa;
  font-size: 1.15rem;
}

.footer__tagline {
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: 0.9rem;
  color: #adb5bd;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--secondary);
}

.footer__copy {
  font-size: 0.8rem;
}

/* ---------- RESPONSIVE ---------- */

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

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow);
  }

  .nav--open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__tags {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__img {
    max-width: 360px;
    margin: 0 auto;
  }

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

  .section-title {
    font-size: 1.6rem;
  }

  .banner__inner {
    gap: 1rem;
  }

  .banner__divider {
    display: none;
  }

  .banner__item {
    width: 100%;
    justify-content: center;
  }

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