:root {
  --primary-color: #4CAF50;
  --secondary-color: #8BC34A;
  --accent-color: #2E7D32;
  --text-color: #333;
  --light-text: #f8f8f8;
  --background-color: #fff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #555;
  --success-color: #388E3C;
  --error-color: #f44336;
  --warning-color: #FFA000;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --line-height: 1.6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

body {
  font-family: var(--font-family);
  line-height: var(--line-height);
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* NAVBAR */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  gap: 12px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.logo-text {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* Menú horizontal en escritorio */
.menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

/* Hamburguesa oculta en escritorio */
.hamburguesa {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburguesa span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-color);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animación hamburguesa */
.hamburguesa.activo span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburguesa.activo span:nth-child(2) {
  opacity: 0;
}
.hamburguesa.activo span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* RESPONSIVE para móvil */
@media (max-width: 768px) {
  .menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 20px;
    width: 260px;
    background: white;
    flex-direction: column;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 1000;
  }
  .menu.menu-activo {
    display: flex !important;
    animation: fadeIn 0.4s ease;
  }
  .hamburguesa {
    display: flex !important;
    z-index: 1001;
  }
  .menu li {
    margin: 12px 0;
  }
  .menu li a {
    padding: 10px 15px;
    display: block;
    border-radius: 6px;
    transition: background 0.3s;
  }
  .menu li a:hover {
    background: #f5f5f5;
  }
  body.menu-abierto {
    overflow: hidden;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer y otros estilos, si tienes más, puedes seguir aquí abajo */
.footer {
  background: linear-gradient(90deg, #a8e063 0%, #56ab2f 100%);
  color: #1b2e1b;
  padding: 38px 0 18px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 -2px 14px rgba(87, 167, 94, 0.12);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: auto;
  gap: 2.2rem;
}

.footer-brand {
  text-align: center;
  flex: 1 1 230px;
}

.footer-logo {
  width: 64px;
  border-radius: 50%;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(88, 175, 91, 0.14);
}

.footer-brand h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  letter-spacing: 2px;
}

.footer-brand p {
  font-size: 1rem;
  color: #2e4b2e;
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.footer-nav a {
  color: #226622;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s, background 0.2s;
  padding: 5px 0;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover {
  color: #fff;
  background: #388e3c;
}

.footer-nav a svg {
  vertical-align: middle;
  margin-right: 6px;
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.footer-nav a:hover svg {
  transform: scale(1.15);
  filter: brightness(1.2) saturate(1.3);
}

.footer-nav a img.icono-instagram {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  vertical-align: middle;
  transition: transform 0.3s ease, filter 0.3s ease;
  margin-right: 8px;
}

.footer-nav a:hover img.icono-instagram {
  transform: scale(1.15);
  filter: brightness(1.1);
}

.footer-nav a span {
  font-size: 1rem;
  vertical-align: middle;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-bottom {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 24px;
  color: #226622;
  background: transparent;
  letter-spacing: 1px;
}

@media (max-width: 650px) {
  .footer-container {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-nav {
    justify-content: center;
    gap: 14px;
  }
}

/* Mejoras para Cómo Comprar */
.como-comprar-bonito {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
  background: linear-gradient(180deg, #f8fff8, #f0fdf0);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 100, 0, 0.05);
  text-align: center;
  font-family: var(--font-family);
}

.como-comprar-bonito h1 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}

.como-comprar-bonito .intro {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
}

.pasos-compra {
  list-style: none;
  padding-left: 0;
  text-align: left;
  display: grid;
  gap: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #222;
}

.pasos-compra li {
  background: #ffffff;
  border-left: 4px solid var(--primary-color);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.pasos-compra span {
  font-weight: bold;
  color: var(--primary-color);
}
