/* ===========================
   Libera Tus Creencias — Global CSS
   Convertido desde Tailwind + Framer Motion
   =========================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Utility display classes must never override the native hidden state. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
  color: #1e293b;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: #419D78;
  color: #ffffff;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #419D78; border-radius: 4px; }

/* ─── Animations ─── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideDown {
  from { opacity: 0; height: 0; }
  to { opacity: 1; height: auto; }
}

.animate-spin-slow { animation: spin 8s linear infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
.animate-scale-in { animation: scaleIn 0.8s ease-out forwards; }

/* Scroll-triggered animations */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Typography ─── */
.font-serif { font-family: Georgia, 'Times New Roman', serif; }
.font-sans { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.font-bold, b, strong { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base, p { font-size: 1rem; line-height: 1.625rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-9xl { font-size: 8rem; line-height: 1; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.75; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.025em; }

/* ─── Colors ─── */
.text-white { color: #ffffff; }
.text-slate-900 { color: #0f172a; }
.text-slate-800 { color: #1e293b; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-50 { color: #f8fafc; }
.text-\[\#419D78\], .text-green { color: #419D78; }
.text-\[\#358162\] { color: #358162; }
.text-\[\#1a2e26\] { color: #1a2e26; }
.text-yellow-400 { color: #facc15; }

.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-900 { background-color: #0f172a; }
.bg-\[\#419D78\] { background-color: #419D78; }
.bg-\[\#419D78\]\/5 { background-color: rgba(65,157,120,0.05); }
.bg-\[\#419D78\]\/10 { background-color: rgba(65,157,120,0.10); }
.bg-\[\#419D78\]\/20 { background-color: rgba(65,157,120,0.20); }
.bg-\[\#419D78\]\/30 { background-color: rgba(65,157,120,0.30); }
.bg-\[\#358162\] { background-color: #358162; }
.bg-\[\#1a2e26\] { background-color: #1a2e26; }
.bg-transparent { background-color: transparent; }
.bg-yellow-400 { background-color: #facc15; }
.bg-white\/5 { background-color: rgba(255,255,255,0.05); }
.bg-white\/10 { background-color: rgba(255,255,255,0.10); }
.bg-white\/20 { background-color: rgba(255,255,255,0.20); }
.bg-white\/80 { background-color: rgba(255,255,255,0.80); }
.bg-black\/20 { background-color: rgba(0,0,0,0.20); }
.bg-\[url\(\'https:\/\/www\.transparenttextures\.com\/patterns\/clean-gray-paper\.png\'\)\] {
  background-image: url('https://www.transparenttextures.com/patterns/clean-gray-paper.png');
}
.bg-\[url\(\'https:\/\/www\.transparenttextures\.com\/patterns\/cubes\.png\'\)\] {
  background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
}

/* Opacity */
.opacity-5 { opacity: 0.05; }
.opacity-10 { opacity: 0.10; }
.opacity-20 { opacity: 0.20; }
.opacity-80 { opacity: 0.80; }
.opacity-90 { opacity: 0.90; }

/* Backdrop blur */
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }
.backdrop-blur-\[2px\] { backdrop-filter: blur(2px); }
.backdrop-blur-2xl { backdrop-filter: blur(40px); }
.backdrop-blur-3xl { backdrop-filter: blur(64px); }

/* ─── Borders ─── */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-4 { border-width: 4px; border-style: solid; }
.border-8 { border-width: 8px; border-style: solid; }
.border-white { border-color: #ffffff; }
.border-white\/5 { border-color: rgba(255,255,255,0.05); }
.border-white\/10 { border-color: rgba(255,255,255,0.10); }
.border-white\/20 { border-color: rgba(255,255,255,0.20); }
.border-white\/30 { border-color: rgba(255,255,255,0.30); }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-50 { border-color: #f8fafc; }
.border-\[\#419D78\] { border-color: #419D78; }
.border-\[\#419D78\]\/20 { border-color: rgba(65,157,120,0.20); }
.border-\[\#419D78\]\/30 { border-color: rgba(65,157,120,0.30); }
.border-\[\#1a2e26\] { border-color: #1a2e26; }

.rounded { border-radius: 0.25rem; }
.rounded-sm { border-radius: 0.125rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-\[2\.5rem\] { border-radius: 2.5rem; }
.rounded-\[3rem\] { border-radius: 3rem; }
.rounded-\[4rem\] { border-radius: 4rem; }
.rounded-full { border-radius: 9999px; }
.rounded-r-lg { border-radius: 0 0.5rem 0.5rem 0; }

/* ─── Shadows ─── */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-2xl\/10 { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); }
.shadow-xl\/10 { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.shadow-xl\/20 { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2); }
.shadow-xl\/5 { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05); }
.shadow-\[\#419D78\]\/5 { box-shadow: 0 20px 25px -5px rgba(65,157,120,0.05); }
.shadow-\[\#419D78\]\/10 { box-shadow: 0 20px 25px -5px rgba(65,157,120,0.10); }
.shadow-\[\#419D78\]\/20 { box-shadow: 0 20px 25px -5px rgba(65,157,120,0.20); }
.shadow-\[\#1a2e26\]\/10 { box-shadow: 0 20px 25px -5px rgba(26,46,38,0.10); }
.shadow-slate-200\/40 { box-shadow: 0 20px 25px -5px rgba(226,232,240,0.40); }
.shadow-slate-200\/50 { box-shadow: 0 20px 25px -5px rgba(226,232,240,0.50); }
.shadow-slate-100 { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1); }
.shadow-slate-100\/40 { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.04); }
.shadow-slate-100\/50 { box-shadow: 0 20px 25px -5px rgba(226,232,240,0.5); }
.shadow-\[\#419D78\]\/30 { box-shadow: 0 20px 25px -5px rgba(65,157,120,0.30); }
.shadow-none { box-shadow: none; }

/* ─── Layout ─── */
.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-7 { grid-column: span 7 / span 7; }

/* ─── Sizing ─── */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1 { width: 0.25rem; }
.w-2 { width: 0.5rem; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.w-96 { width: 24rem; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-96 { height: 24rem; }
.h-550 { height: 550px; }
.h-600 { height: 600px; }
.h-\[500px\] { height: 500px; }
.h-\[550px\] { height: 550px; }
.h-\[600px\] { height: 600px; }
.h-screen { height: 100vh; }
.h-auto { height: auto; }
.min-h-screen { min-height: 100vh; }
.min-h-\[90vh\] { min-height: 90vh; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[280px\] { max-width: 280px; }

/* Aspect ratios */
.aspect-\[2\/3\] { aspect-ratio: 2 / 3; }

/* ─── Spacing ─── */
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-14 { padding: 3.5rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-14 { padding-left: 3.5rem; padding-right: 3.5rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-12 { padding-top: 3rem; }
.pt-14 { padding-top: 3.5rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pb-0 { padding-bottom: 0; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }

.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.ml-2 { margin-left: 0.5rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-auto { margin-top: auto; }

.-top-6 { top: -1.5rem; }
.-top-10 { top: -2.5rem; }
.-bottom-6 { bottom: -1.5rem; }
.-bottom-10 { bottom: -2.5rem; }
.-left-6 { left: -1.5rem; }
.-left-10 { left: -2.5rem; }
.-right-6 { right: -1.5rem; }

/* ─── Position ─── */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-10 { top: 2.5rem; }
.top-full { top: 100%; }
.bottom-4 { bottom: 1rem; }
.bottom-20 { bottom: 5rem; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.right-20 { right: 5rem; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ─── Transform ─── */
.translate-x-1\/2 { transform: translateX(50%); }
.translate-x-1\/3 { transform: translateX(33.333333%); }
.translate-y-1\/2 { transform: translateY(50%); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-x-12 { transform: translateX(-3rem); }
.translate-x-20 { transform: translateX(5rem); }
.-translate-x-20 { transform: translateX(-5rem); }
.translate-y-20 { transform: translateY(20px); }
.-translate-y-20 { transform: translateY(-20px); }
.-translate-y-1\/3 { transform: translateY(-33.333333%); }
.-translate-y-1\/2 { transform: translateY(-50%); }

.rotate-2 { transform: rotate(2deg); }
.-skew-x-12 { transform: skewX(-12deg); }

/* Hover translate */
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:translate-x-1\.5 { transform: translateX(0.375rem); }

/* Scale */
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.10); }
.group:hover .group-hover\:scale-110 { transform: scale(1.10); }

/* ─── Overflow ─── */
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }

/* ─── Transition ─── */
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }
.transition-shadow { transition: box-shadow 0.3s ease; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.ease-out { transition-timing-function: ease-out; }

/* ─── Hover ─── */
.hover\:bg-\[\#358162\]:hover { background-color: #358162; }
.hover\:bg-\[\#419D78\]:hover { background-color: #419D78; }
.hover\:bg-white\/5:hover { background-color: rgba(255,255,255,0.05); }
.hover\:bg-white\/20:hover { background-color: rgba(255,255,255,0.20); }
.hover\:text-\[\#358162\]:hover { color: #358162; }
.hover\:text-\[\#419D78\]:hover { color: #419D78; }
.hover\:text-\[\#1a2e26\]:hover { color: #1a2e26; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.hover\:shadow-\[\#419D78\]\/10:hover { box-shadow: 0 20px 25px -5px rgba(65,157,120,0.10); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* Hover group variations */
.hover\:bg-slate-50:hover { background-color: #f8fafc; }
.hover\:bg-\[\#419D78\]\/5:hover { background-color: rgba(65,157,120,0.05); }

/* Hover icon color */
.group:hover .group-hover\:text-white { color: #ffffff; }

/* ─── Object Fit ─── */
.object-cover { object-fit: cover; }

/* ─── Cursor ─── */
.cursor-pointer { cursor: pointer; }

/* ─── Outline / Ring ─── */
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(65,157,120,0.5); }
.focus\:ring-\[\#419D78\]\/20:focus { box-shadow: 0 0 0 2px rgba(65,157,120,0.20); }
.focus\:border-\[\#419D78\]:focus { border-color: #419D78; }
.focus\:bg-white:focus { background-color: #ffffff; }

/* ─── Resize ─── */
.resize-none { resize: none; }

/* ─── Appearance ─── */
.appearance-none { appearance: none; }

/* ─── Gradient backgrounds ─── */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }

.from-slate-900\/60 { --tw-gradient-from: rgba(15,23,42,0.60); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to); }
.to-white { --tw-gradient-to: #ffffff; }
.to-transparent { --tw-gradient-to: transparent; }
.from-black\/20 { --tw-gradient-from: rgba(0,0,0,0.20); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-\[\#1a2e26\] { --tw-gradient-from: #1a2e26; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }

/* Gradient text */
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

/* ─── Blur ─── */
.blur-2xl { filter: blur(40px); }
.blur-3xl { filter: blur(64px); }
.blur-sm { filter: blur(4px); }

/* ─── Border left ─── */
.border-l-4 { border-left-width: 4px; border-left-style: solid; }

/* ─── Navbar specific ─── */
.nav-link {
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-link:hover { color: #419D78; }

/* Default link reset inside nav and footer */
nav a, footer a {
  text-decoration: none;
  color: inherit;
}

.no-underline { text-decoration: none; }
.underline { text-decoration: underline; }
.underline-offset-8 { text-underline-offset: 8px; }

/* ─── Image overlay gradient ─── */
.img-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.20), transparent);
}

/* ─── Responsive breakpoints ─── */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex { display: flex; }
  .sm\:justify-center { justify-content: center; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:block { display: block; }
  .sm\:hidden { display: none; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-7xl { font-size: 4.5rem; }
  .md\:text-8xl { font-size: 6rem; }
  .md\:p-20 { padding: 5rem; }
  .md\:py-0 { padding-top: 0; padding-bottom: 0; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:static { position: static; }
  .md\:gap-6 { gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:w-1\/2 { width: 50%; }
  .lg\:w-1\/3 { width: 33.333333%; }
  .lg\:w-2\/3 { width: 66.666667%; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:gap-10 { gap: 2.5rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:space-x-10 > * + * { margin-left: 2.5rem; }
  .lg\:space-x-8 > * + * { margin-left: 2rem; }
}

@media (min-width: 1280px) {
  .xl\:flex { display: flex; }
}

/* ─── Decorative elements ─── */
.skew-x-\[20deg\] { transform: skewX(20deg); }
.ring-1 { box-shadow: 0 0 0 1px rgba(65,157,120,0.30); }

/* ─── Quote ─── */
blockquote { quotes: none; }

/* ─── Smooth images ───
   Antes: `img { height: auto }` sobrescribía `h-full` de Tailwind cuando había
   un contenedor con aspect-ratio, dejando la imagen sin alto y rompiendo
   `object-cover` en iOS Safari. Cambiado a :where() con specificity 0
   para que cualquier utility de Tailwind (h-full, h-screen, etc.) gane. */
:where(img) { max-width: 100%; height: auto; display: block; }

/* ─── Form elements ─── */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}
input::placeholder, textarea::placeholder {
  color: #94a3b8;
}

/* ─── Button reset ─── */
button {
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

/* ─── Skip link (accessibility) ─── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 9999;
  padding: 12px 20px;
  background: #1a2e26;
  color: #ffffff;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 8px;
  outline: 3px solid #419D78;
  outline-offset: 2px;
}

/* ─── Focus visible (accessibility) ─── */
*:focus-visible {
  outline: 3px solid #419D78;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── prefers-reduced-motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

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

/* ─── Current page indicator ─── */
.nav-link[aria-current="page"] {
  color: #419D78 !important;
}

/* =====================================================
   COMPONENT STYLES � Aplanados a global.css porque Astro 7
   no est� emitiendo los <style> scoped al build de producci�n
   ===================================================== */

/* ===== Cookie Banner ===== */
#ltc-cookie-banner { position: fixed; inset-inline: 0; bottom: 0; z-index: 9999; background: #1a2e26; color: #f1f5f4; box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18); }
#ltc-cookie-banner[hidden] { display: none; }
.ltc-cookie-banner__inner { max-width: 80rem; margin: 0 auto; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .ltc-cookie-banner__inner { flex-direction: row; align-items: center; gap: 2rem; padding: 1.5rem 2rem; } }
.ltc-cookie-banner__title { font-family: Georgia, "Times New Roman", serif; font-size: 1.125rem; font-weight: 700; margin: 0 0 0.35rem 0; color: #ffffff; }
.ltc-cookie-banner__desc { font-size: 0.9rem; line-height: 1.55; color: #cbd5d1; margin: 0; }
.ltc-cookie-banner__link { color: #6ee7b7; text-decoration: underline; text-underline-offset: 2px; }
.ltc-cookie-banner__link:hover { color: #a7f3d0; }
.ltc-cookie-banner__actions { display: flex; flex-direction: column; gap: 0.5rem; flex-shrink: 0; }
@media (min-width: 480px) { .ltc-cookie-banner__actions { flex-direction: row; } }

.ltc-btn { appearance: none; border: 1px solid transparent; border-radius: 0.5rem; padding: 0.6rem 1.1rem; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease; white-space: nowrap; line-height: 1.2; min-height: 44px; }
.ltc-btn:focus-visible { outline: 2px solid #6ee7b7; outline-offset: 2px; }
.ltc-btn--primary { background: #419D78; color: #ffffff; border-color: #419D78; }
.ltc-btn--primary:hover { background: #357e62; border-color: #357e62; }
.ltc-btn--secondary { background: transparent; color: #f1f5f4; border-color: #94a3b8; }
.ltc-btn--secondary:hover { background: #334155; border-color: #cbd5e1; }
.ltc-btn--ghost { background: transparent; color: #6ee7b7; border-color: transparent; }
.ltc-btn--ghost:hover { color: #a7f3d0; text-decoration: underline; }

.ltc-cookie-modal { position: fixed; inset: 0; z-index: 10000; background: rgba(15, 23, 23, 0.6); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.ltc-cookie-modal[hidden] { display: none; }
.ltc-cookie-modal__panel { background: #fdfcf7; color: #1a2e26; border-radius: 1rem; max-width: 38rem; width: 100%; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.ltc-cookie-modal__header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid #e5e7eb; }
.ltc-cookie-modal__title { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 700; margin: 0; }
.ltc-cookie-modal__close { appearance: none; background: transparent; border: 0; padding: 0.5rem; border-radius: 0.5rem; cursor: pointer; color: #475569; display: inline-flex; align-items: center; justify-content: center; }
.ltc-cookie-modal__close:hover { background: #e5e7eb; }
.ltc-cookie-modal__body { padding: 1.25rem 1.5rem; overflow-y: auto; flex: 1 1 auto; }
.ltc-cookie-modal__intro { font-size: 0.9rem; line-height: 1.6; color: #475569; margin: 0 0 1.25rem 0; }
.ltc-cookie-modal__footer { display: flex; gap: 0.75rem; justify-content: flex-end; padding: 1rem 1.5rem; border-top: 1px solid #e5e7eb; background: #f8f9f5; flex-wrap: wrap; }
.ltc-cookie-modal__footer .ltc-btn--secondary { color: #1a2e26; border-color: #cbd5d1; }
.ltc-cookie-modal__footer .ltc-btn--secondary:hover { background: #e5e7eb; border-color: #94a3b8; }

.ltc-cookie-category { padding: 1rem 0; border-bottom: 1px solid #e5e7eb; }
.ltc-cookie-category:last-of-type { border-bottom: 0; }
.ltc-cookie-category__head { display: flex; align-items: flex-start; gap: 1rem; justify-content: space-between; }
.ltc-cookie-category__title { font-size: 1rem; font-weight: 700; margin: 0 0 0.35rem 0; color: #1a2e26; }
.ltc-cookie-category__desc { font-size: 0.85rem; line-height: 1.55; color: #475569; margin: 0; }
.ltc-cookie-category__note { margin: 0.75rem 0 0 0; font-size: 0.8rem; line-height: 1.5; color: #64748b; }
.ltc-badge--always { display: inline-block; padding: 0.3rem 0.6rem; background: #d1fae5; color: #065f46; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }

.ltc-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.ltc-switch input { opacity: 0; width: 0; height: 0; }
.ltc-switch__slider { position: absolute; cursor: pointer; inset: 0; background: #cbd5d1; border-radius: 999px; transition: background-color 0.2s ease; }
.ltc-switch__slider::before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #ffffff; border-radius: 50%; transition: transform 0.2s ease; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.ltc-switch input:checked + .ltc-switch__slider { background: #419D78; }
.ltc-switch input:checked + .ltc-switch__slider::before { transform: translateX(20px); }

.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; }

@media (prefers-reduced-motion: reduce) {
  #ltc-cookie-banner, .ltc-cookie-modal, .ltc-cookie-modal__panel { animation: none; }
  .ltc-btn, .ltc-switch__slider, .ltc-switch__slider::before { transition: none; }
}

/* ===== Navbar Dropdown ===== */
.nav-cta { background-color: #419D78; color: #ffffff; }
.nav-cta:hover { background-color: #358162; }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger { background: transparent; border: 0; cursor: pointer; font-family: inherit; line-height: inherit; transition: color 0.18s ease; }
.nav-dropdown-trigger:hover { color: #419D78 !important; }
.nav-dropdown-trigger:focus-visible { outline: 2px solid #419D78; outline-offset: 2px; }

.nav-dropdown-panel { position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translateX(-50%) translateY(-4px); min-width: 280px; background: #ffffff; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); border: 1px solid #f1f5f9; padding: 0.5rem 0; opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 60; }
.nav-dropdown-panel.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.nav-dropdown-item { display: block; padding: 0.625rem 1.25rem; color: #334155; font-size: 0.875rem; line-height: 1.4; text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease; white-space: nowrap; }
.nav-dropdown-item:hover { background-color: #f8fafc; color: #419D78; }
.nav-dropdown-item.is-active { color: #419D78; font-weight: 700; background-color: #f8fafc; }

nav.is-scrolled { background: white !important; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); padding-top: 1rem !important; padding-bottom: 1rem !important; }
nav.is-scrolled .font-serif { color: #0f172a !important; }
nav.is-scrolled .nav-link, nav.is-scrolled .nav-dropdown-trigger { color: #475569 !important; }
nav.is-scrolled .nav-link[aria-current="page"] { color: #419D78 !important; }

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown-panel, .dropdown-chevron, .nav-dropdown-item { transition: none !important; }
}
