:root {
  /* Colores principales */
  --color-primary: #5D8A5D; /* Verde bosque */
  --color-secondary: #B1CCC9; /* Verde azulado claro */
  --color-accent: #8FA660; /* Verde oliva para botones */
  --color-background: #F8F8F0; /* Crema suave */
  --color-footer-bg: #3A5C5A; /* Verde oscuro para footer */
  --color-text-dark: #333;
  --color-text-light: #f4f4f4;
  --color-border: rgba(93, 138, 93, 0.3);

  /* Paleta de colores para secciones */
  --section-bg-1: #F8F8F0;
  --section-bg-2: #EDECE4;
  --section-bg-3: #E0E2DA;
  --section-bg-4: #B1CCC9;
  --section-bg-5: #D9E7D4;

  /* Tipografía */
  --font-family-body: 'Roboto', sans-serif;
  --font-family-headings: 'Poppins', sans-serif;
  --font-size-base: 1.125rem; /* 18px */
  --line-height-base: 1.7;

  /* Espaciado */
  --spacing-unit: 1rem;
  --spacing-xs: calc(var(--spacing-unit) * 0.5);   /* 8px */
  --spacing-sm: calc(var(--spacing-unit) * 1);     /* 16px */
  --spacing-md: calc(var(--spacing-unit) * 1.5);   /* 24px */
  --spacing-lg: calc(var(--spacing-unit) * 2);     /* 32px */
  --spacing-xl: calc(var(--spacing-unit) * 3);     /* 48px */
  --spacing-xxl: calc(var(--spacing-unit) * 4);    /* 64px */

  /* Bordes y sombras */
  --border-radius-soft: 8px;
  --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.08); /* Sombra difuminada */
  --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-dark);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-headings);
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

h1 {
  font-size: 3.5rem; /* 56px */
  letter-spacing: -0.03em;
  color: var(--color-footer-bg); /* Un toque más oscuro para el impacto */
}

h2 {
  font-size: 2.5rem; /* 40px */
  color: var(--color-primary);
}

h3 {
  font-size: 1.75rem; /* 28px */
}

h4 {
  font-size: 1.5rem; /* 24px */
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

ul, ol {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

li {
  margin-bottom: var(--spacing-xs);
}

/* Layout y secciones */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--color-background); /* Base */
  position: relative;
  overflow: hidden; /* Para gradientes o elementos decorativos */
}

/* Variaciones de fondo de sección */
.section-bg--1 { background-color: var(--section-bg-1); }
.section-bg--2 { background-color: var(--section-bg-2); }
.section-bg--3 { background-color: var(--section-bg-3); }
.section-bg--4 { background-color: var(--section-bg-4); }
.section-bg--5 { background-color: var(--section-bg-5); }


/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius-soft);
  font-family: var(--font-family-headings);
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: var(--shadow-subtle);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text-light);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: darken(var(--color-accent), 10%);
  border-color: darken(var(--color-accent), 10%);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Formularios */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-control {
  width: 100%;
  padding: var(--spacing-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-soft);
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(143, 166, 96, 0.2); /* Sombra de enfoque sutil */
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Tarjetas y elementos con sombra */
.card {
  background-color: #ffffff;
  border-radius: var(--border-radius-soft);
  box-shadow: var(--shadow-subtle);
  padding: var(--spacing-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Efectos visuales - Gradientes suaves y sutiles */
.gradient-overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(248, 248, 240, 0.8), transparent);
  pointer-events: none;
  z-index: 1;
}

.gradient-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, rgba(248, 248, 240, 0.8), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Footer */
.footer {
  background-color: var(--color-footer-bg);
  color: var(--color-text-light);
  padding: var(--spacing-xxl) 0;
  font-size: var(--font-size-base);
}

.footer a {
  color: var(--color-secondary);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer h3 {
  color: #fff;
  margin-bottom: var(--spacing-md);
}

/* Alpine.js transiciones */
[x-cloak] {
  display: none !important;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.5s ease;
}
.fade-enter, .fade-leave-to {
  opacity: 0;
}

.slide-up-enter-active, .slide-up-leave-active {
  transition: all 0.5s ease;
}
.slide-up-enter, .slide-up-leave-to {
  opacity: 0;
  transform: translateY(20px);
}

/* Media Queries para responsividad */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem; /* 48px */
  }
  h2 {
    font-size: 2rem; /* 32px */
  }
  .container {
    padding: 0 var(--spacing-sm);
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-base: 1rem; /* 16px */
  }
  h1 {
    font-size: 2.5rem; /* 40px */
  }
  h2 {
    font-size: 1.75rem; /* 28px */
  }
  section {
    padding: var(--spacing-xl) 0;
  }
  .btn {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem; /* 32px */
  }
  h2 {
    font-size: 1.5rem; /* 24px */
  }
  h3 {
    font-size: 1.25rem; /* 20px */
  }
  .container {
    padding: 0 var(--spacing-xs);
  }
}

/* Estilos para elementos específicos del tema "Natural y Sereno" */
/* Elementos que evocan la naturaleza */
.leaf-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-primary), transparent);
  margin: var(--spacing-xl) auto;
  opacity: 0.6;
}

.icon-nature {
  color: var(--color-primary);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  display: inline-block;
}

/* Sutiles texturas de fondo en algunas secciones */
.section-textured {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"><circle fill="%23EDECE4" cx="2" cy="2" r="1"/></svg>');
  background-repeat: repeat;
  background-size: 8px 8px;
  opacity: 0.7;
}

/* Efecto Claymorphism suave para elementos clave, dando una sensación orgánica */
.clay-element {
  background-color: var(--section-bg-2);
  border-radius: var(--border-radius-soft);
  box-shadow: 
    -5px -5px 10px rgba(255, 255, 255, 0.7),
    5px 5px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: var(--spacing-lg);
}

.clay-element:hover {
  box-shadow: 
    -7px -7px 14px rgba(255, 255, 255, 0.8),
    7px 7px 14px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
}

/* Animación sutil de "respiración" para un elemento destacado */
@keyframes pulse-light {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

.animate-pulse-light {
  animation: pulse-light 3s infinite ease-in-out;
}

/* Decoración con formas orgánicas (ej. para un badge o un icono) */
.organic-shape {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background-color: var(--color-secondary);
  padding: var(--spacing-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-footer-bg);
  font-weight: bold;
}

/* Estilo para un encabezado de sección con línea decorativa inferior */
.section-title-underline {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-xl);
}

.section-title-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60%;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

/* Efecto de fondo sutil para un header o banner, con ondas de luz */
.header-hero-nature {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  color: var(--color-text-light);
  padding: var(--spacing-xxl) 0;
  position: relative;
  overflow: hidden;
}

.header-hero-nature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.header-hero-nature h1 {
  color: var(--color-text-light);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header-hero-nature p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: var(--spacing-md) auto;
}

/* Navbar estilo minimalista */
.navbar {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: var(--spacing-sm) var(--spacing-md);
  box-shadow: var(--shadow-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom-left-radius: var(--border-radius-soft);
  border-bottom-right-radius: var(--border-radius-soft);
}

.navbar-brand {
  font-family: var(--font-family-headings);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--color-primary);
}

.navbar-nav a {
  padding: var(--spacing-xs) var(--spacing-sm);
  color: var(--color-text-dark);
  font-weight: 500;
  position: relative;
}

.navbar-nav a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav a:hover::after {
  width: 80%;
}

/* Indicador de carga sutil (esqueleto) */
.skeleton-loader {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--border-radius-soft);
  opacity: 0.7;
}

.skeleton-loader--text {
  height: 1em;
  margin-bottom: 0.5em;
}

.skeleton-loader--image {
  height: 200px;
  width: 100%;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}<ctrl63>


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}