/* ============================================
   NUTRI-NORTE | Estilos Corporativos Premium
   ============================================ */

/* Importar Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ============================================
   VARIABLES Y COLORES CORPORATIVOS
   ============================================ */
:root {
  --nutri-verde-oscuro: #0F5B34;
  --nutri-verde-agricola: #3F8B4B;
  --nutri-dorado: #D8A21A;
  --nutri-blanco: #FFFFFF;
  --nutri-gris-claro: #F5F5F5;
  --nutri-gris-medio: #E8E8E8;
  --nutri-gris-oscuro: #333333;
  --nutri-texto: #1a1a1a;
}

/* ============================================
   RESET Y ESTILOS BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--nutri-texto);
  line-height: 1.6;
  background-color: var(--nutri-blanco);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--nutri-verde-oscuro);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--nutri-verde-oscuro);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--nutri-dorado);
}

/* ============================================
   CONTAINER Y LAYOUT
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--nutri-blanco);
  box-shadow: 0 2px 8px rgba(15, 91, 52, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(15, 91, 52, 0.15);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nutri-verde-oscuro);
}

.logo img {
  height: 50px;
  width: 50px;
}

.logo-text h1 {
  font-size: 1.3rem;
  margin: 0;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--nutri-verde-agricola);
  margin: 0;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-weight: 500;
  color: var(--nutri-texto);
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--nutri-dorado);
}

.cta-button {
  background-color: var(--nutri-dorado);
  color: var(--nutri-verde-oscuro);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #C89019;
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--nutri-verde-oscuro);
}

@media (max-width: 768px) {
  .header-content {
    padding: 0 1.5rem;
  }

  nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: var(--nutri-blanco);
    border-bottom: 1px solid var(--nutri-gris-medio);
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--nutri-gris-medio);
  }

  .menu-toggle {
    display: block;
  }

  .cta-button {
    display: none;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  margin-top: 80px;
  position: relative;
  height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
              url('/manus-storage/hero-ganado-profesional_8ecf07aa.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--nutri-blanco);
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--nutri-blanco);
  margin-bottom: 1.5rem;
  animation: slideInDown 0.8s ease-out;
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--nutri-blanco);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--nutri-dorado);
  color: var(--nutri-verde-oscuro);
}

.btn-primary:hover {
  background-color: #C89019;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(216, 162, 26, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--nutri-blanco);
  border: 2px solid var(--nutri-blanco);
}

.btn-secondary:hover {
  background-color: var(--nutri-blanco);
  color: var(--nutri-verde-oscuro);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero {
    height: 400px;
    margin-top: 80px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
section {
  padding: 5rem 0;
}

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

.section-light {
  background-color: var(--nutri-blanco);
}

.section-gray {
  background-color: var(--nutri-gris-claro);
}

.section-dark {
  background-color: var(--nutri-verde-oscuro);
  color: var(--nutri-blanco);
}

.section-dark h2 {
  color: var(--nutri-blanco);
}

/* ============================================
   CARDS Y COMPONENTES
   ============================================ */
.card {
  background-color: var(--nutri-blanco);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(15, 91, 52, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(15, 91, 52, 0.15);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.card p {
  color: #666;
  font-size: 0.95rem;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (max-width: 768px) {
  .grid {
    gap: 1.5rem;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   IMÁGENES
   ============================================ */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-rounded {
  border-radius: 0.5rem;
  overflow: hidden;
}

.img-shadow {
  box-shadow: 0 4px 12px rgba(15, 91, 52, 0.15);
}

/* ============================================
   FORMULARIOS
   ============================================ */
form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--nutri-verde-oscuro);
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--nutri-gris-medio);
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--nutri-verde-oscuro);
  box-shadow: 0 0 0 3px rgba(15, 91, 52, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   ACORDEÓN
   ============================================ */
.accordion-item {
  border: 1px solid var(--nutri-gris-medio);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  background-color: var(--nutri-blanco);
}

.accordion-header {
  background-color: var(--nutri-blanco);
  border: none;
  padding: 1.5rem;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--nutri-verde-oscuro);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background-color: var(--nutri-gris-claro);
  color: var(--nutri-dorado);
}

.accordion-header.active {
  background-color: var(--nutri-verde-oscuro);
  color: var(--nutri-blanco);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.accordion-content.active {
  max-height: 500px;
  padding: 1.5rem;
}

.accordion-content p {
  color: #666;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background-color: var(--nutri-verde-oscuro);
  color: var(--nutri-blanco);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--nutri-dorado);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--nutri-dorado);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--nutri-dorado);
  color: var(--nutri-verde-oscuro);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   UTILIDADES
   ============================================ */
.text-center {
  text-align: center;
}

.text-white {
  color: var(--nutri-blanco);
}

.text-gold {
  color: var(--nutri-dorado);
}

.text-dark-green {
  color: var(--nutri-verde-oscuro);
}

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

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

.flex {
  display: flex;
}

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

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1rem;
  }

  section {
    padding: 2rem 0;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
