: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;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVIGATION */
.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;
}

.menu li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

.menu li a:hover {
  color: var(--primary-color);
}

/* 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;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  .menu.menu-activo {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
  }
  .hamburguesa {
    display: flex;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Estilos específicos para la página de política */
body.policy-page {
  padding-top: 120px;
   scroll-padding-top: 120px; 
}

.policy-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 20px;
}

.policy-container h1 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.policy-container h2 {
  color: var(--accent-color);
  margin: 1.5rem 0 1rem 0;
  font-size: 1.5rem;
}

.policy-container h3 {
  color: var(--primary-color);
  margin: 1.2rem 0 0.8rem 0;
}

.policy-container p, 
.policy-container li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.policy-container ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* NOTIFICACIÓN */
.notificacion {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: var(--border-radius);
  color: white;
  box-shadow: var(--box-shadow);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 2100;
}

.notificacion.show {
  transform: translateY(0);
  opacity: 1;
}

.notificacion.exito {
  background-color: var(--success-color);
}

.notificacion.error {
  background-color: var(--error-color);
}

.notificacion.info {
  background-color: #2196F3;
}

/* Footer */
.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;
  }
}

/* Botones globales */
button,
input[type="submit"] {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 20px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
}

button:hover,
input[type="submit"]:hover {
  background-color: #43c160;
  transform: translateY(-2px);
}
