/* Base Styles - Mobile First Approach */
:root {
  --primary-color: #4a9b9b;
  --secondary-color: #6bb6b6;
  --accent-color: #25d366;
  --mayorista-color: #2c5aa0;
  --minorista-color: #e67e22;
  --text-dark: #2c3e50;
  --text-medium: #5a6c7d;
  --text-light: #7f8c8d;
  --bg-white: #ffffff;
  --bg-light: #f8fafb;
  --bg-section: #f5f8f8;
  --border-light: #e8f0f0;
  --shadow-light: 0 2px 15px rgba(74, 155, 155, 0.08);
  --shadow-hover: 0 8px 30px rgba(74, 155, 155, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --container-padding: 1rem;
  --header-height: 80px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

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

.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy.loaded {
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  color: var(--bg-white);
}

.btn-mayorista {
  background: var(--mayorista-color);
  color: var(--bg-white);
}

.btn-mayorista:hover {
  background: #1e3d6f;
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-minorista {
  background: var(--minorista-color);
  color: var(--bg-white);
}

.btn-minorista:hover {
  background: #d35400;
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--accent-color);
  color: var(--bg-white);
}

.btn-whatsapp:hover {
  background: #128c7e;
  color: var(--bg-white);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--bg-white);
}

/* Utilities */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Tablet Styles */
@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.25rem;
  }
  h3 {
    font-size: 2rem;
  }
}

/* Large Desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}
