/* ============================================
   SCRF - SafeBridge Community Resilience Foundation
   Stylesheet - Ported from Next.js/Tailwind
   ============================================ */

/* === CSS Variables === */
:root {
  --primary: #1a5632;
  --primary-light: #2d8a4e;
  --primary-dark: #0f3d22;
  --secondary: #c8a24e;
  --secondary-light: #dbb96a;
  --accent: #e67e22;
  --accent-light: #f39c12;
  --bg-cream: #faf8f3;
  --bg-light: #f5f7f5;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border-light: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --max-width: 1280px;
  --header-height: 80px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-dark);
  background: var(--bg-cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding-top: var(--header-height);
}

::selection {
  background-color: var(--primary);
  color: white;
}

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

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

/* === Custom Container === */
.container-custom {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: var(--max-width);
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* === Buttons === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--primary);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 2px solid var(--primary);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 2px solid var(--primary);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
}

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

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--secondary);
  color: var(--text-dark);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 2px solid var(--secondary);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
}

.btn-accent:hover {
  background: var(--secondary-light);
  border-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* === Section Styles === */
.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .section-subtitle {
    font-size: 1.25rem;
    max-width: 42rem;
  }
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 1rem auto;
}

/* === Card === */
.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* === Badge/Tag === */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary {
  background: rgba(26, 86, 50, 0.1);
  color: var(--primary);
}

.badge-secondary {
  background: rgba(200, 162, 78, 0.1);
  color: var(--secondary);
}

/* === Gradient === */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-overlay {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

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

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.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; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
}

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

@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
  .lg\:block { display: block; }
}

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:hidden { display: none; }
  .sm\:inline { display: inline; }
  .sm\:flex-row { flex-direction: row; }
}

.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }

.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.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; }

.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

@media (min-width: 640px) {
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-10 { padding: 2.5rem; }
}

.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-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 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; }

/* Text sizes */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

@media (min-width: 640px) {
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
}

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.2; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }

.text-white { color: white; }
.text-dark { color: var(--text-dark); }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

.bg-white { background-color: white; }
.bg-light { background-color: var(--bg-light); }
.bg-cream { background-color: var(--bg-cream); }
.bg-primary { background-color: var(--primary); }
.bg-primary-dark { background-color: var(--primary-dark); }

.border { border: 1px solid var(--border-light); }
.border-0 { border: 0; }
.border-t { border-top: 1px solid var(--border-light); }
.border-b { border-bottom: 1px solid var(--border-light); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: 1.25rem; }
.rounded-full { border-radius: 9999px; }

.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; }
.space-y-10 > * + * { margin-top: 2.5rem; }

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.site-header.transparent {
  background: rgba(15, 61, 34, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
  flex-shrink: 0;
  background: var(--primary);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-link:hover .logo-icon {
  border-color: rgba(255, 255, 255, 0.4);
}

.logo-text .logo-name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  display: block;
  transition: color 0.3s;
}

.logo-text .logo-name.light { color: white; }
.logo-text .logo-name.dark { color: var(--text-dark); }

.logo-text .logo-sub {
  font-size: 0.625rem;
  line-height: 1.2;
  display: block;
  transition: color 0.3s;
}

.logo-text .logo-sub.light { color: rgba(255, 255, 255, 0.8); }
.logo-text .logo-sub.dark { color: var(--text-muted); }

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
}

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link.light {
  color: white;
}

.nav-link.light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.light.active {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.nav-link.dark {
  color: var(--text-dark);
}

.nav-link.dark:hover {
  background: var(--bg-light);
}

.nav-link.dark.active {
  background: var(--primary);
  color: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s;
}

@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu-btn.light:hover { background: rgba(255, 255, 255, 0.1); }
.mobile-menu-btn.dark:hover { background: var(--bg-light); }

.menu-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.menu-icon span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 9999px;
  transition: all 0.3s;
}

.menu-icon span.light { background: white; }
.menu-icon span.dark { background: var(--text-dark); }

.menu-icon.open span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.menu-icon.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-icon.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow-xl);
  border-top: 1px solid #f3f4f6;
  overflow: hidden;
  transition: all 0.3s;
  max-height: 0;
  opacity: 0;
}

.mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

.mobile-menu-inner {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  background: var(--bg-light);
}

.mobile-nav-link.active {
  background: var(--primary);
  color: white;
}

/* === Page Hero === */
.page-hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  overflow: hidden;
}

@media (min-width: 640px) {
  .page-hero {
    padding-top: 9rem;
    padding-bottom: 6rem;
  }
}

.page-hero-deco-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translateY(-50%) translateX(50%);
}

.page-hero-deco-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translateY(50%) translateX(-50%);
}

.page-hero-deco-3 {
  position: absolute;
  top: 50%;
  left: 25%;
  width: 8rem;
  height: 8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.page-hero-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .page-hero-content h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .page-hero-content h1 { font-size: 3.75rem; }
}

.page-hero-divider {
  width: 5rem;
  height: 0.25rem;
  background: var(--secondary);
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
}

.page-hero-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .page-hero-content p { font-size: 1.25rem; }
}

/* === CAC Banner === */
.cac-banner {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-dark));
  padding: 0.75rem 0;
}

.cac-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: white;
}

@media (min-width: 640px) {
  .cac-banner-inner { gap: 1.5rem; }
}

.cac-banner-verified {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .cac-banner-verified { display: flex; }
}

.cac-banner-divider {
  width: 1px;
  height: 1rem;
  background: rgba(255, 255, 255, 0.2);
}

.cac-banner-text {
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  .cac-banner-text { font-size: 1rem; }
}

.cac-banner-highlight {
  color: var(--secondary);
  font-weight: 700;
}

/* === Hero Slider === */
.hero-slider {
  position: relative;
  height: 85vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}

.slider-slide {
  position: absolute;
  inset: 0;
  transition: all 1s ease-in-out;
}

.slider-slide.active {
  opacity: 1;
  transform: scale(1);
}

.slider-slide.inactive {
  opacity: 0;
  transform: scale(1.05);
}

/* Slide text visibility - only show active slide text */
.slide-text {
  display: none;
  position: relative;
}

.slide-text.active {
  display: block;
  animation: slide-up 0.8s ease-out forwards;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.slider-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, rgba(0, 0, 0, 0.2));
}

.slider-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.slider-content-inner {
  width: 100%;
}

.slider-text {
  max-width: 48rem;
}

.slider-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.slider-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
}

.slider-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .slider-title { font-size: 3rem; }
}

@media (min-width: 768px) {
  .slider-title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .slider-title { font-size: 4.5rem; }
}

.slider-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  margin-bottom: 2.5rem;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .slider-subtitle { font-size: 1.25rem; }
}

.slider-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow-left {
  left: 1rem;
}

@media (min-width: 640px) {
  .slider-arrow-left { left: 2rem; }
}

.slider-arrow-right {
  right: 1rem;
}

@media (min-width: 640px) {
  .slider-arrow-right { right: 2rem; }
}

.slider-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slider-dot {
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.3s;
  padding: 0;
}

.slider-dot.active {
  width: 2.5rem;
  height: 0.625rem;
  background: var(--secondary);
}

.slider-dot.inactive {
  width: 0.625rem;
  height: 0.625rem;
  background: rgba(255, 255, 255, 0.4);
}

.slider-dot.inactive:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* === Footer === */
.site-footer {
  background: var(--text-dark);
  color: white;
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d1d5db;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  font-size: 0.875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  opacity: 0;
  transition: opacity 0.2s;
}

.footer-links a:hover .footer-link-dot {
  opacity: 1;
}

.footer-link-dot-gold {
  background: var(--secondary);
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  margin-top: 0.125rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

.footer-contact a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: white;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-link.whatsapp:hover { background: #25d366; color: white; }
.social-link.linkedin:hover { background: #0a66c2; color: white; }
.social-link.facebook:hover { background: #1877f2; color: white; }
.social-link.instagram:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
  }
}

.footer-bottom p {
  color: #6b7280;
  font-size: 0.875rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-meta .rc {
  color: #4b5563;
  font-size: 0.75rem;
}

.footer-meta-links {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
}

.footer-meta-links a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-meta-links a:hover {
  color: white;
}

/* === Animations === */
@keyframes slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-slide-up {
  animation: slide-up 0.8s ease-out forwards;
}

.animate-slide-in-left {
  animation: slide-in-left 0.8s ease-out forwards;
}

.animate-slide-in-right {
  animation: slide-in-right 0.8s ease-out forwards;
}

.animate-scale-in {
  animation: scale-in 0.6s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animation-delay-200 { animation-delay: 200ms; }
.animation-delay-400 { animation-delay: 400ms; }
.animation-delay-600 { animation-delay: 600ms; }

/* === Glass Card === */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-lg);
}

/* === Group hover effects === */
.group { }
.card:hover .group-hover { transform: scale(1.1); }
.card:hover .hover-indicator { width: 100%; }

/* === Opacity text colors === */
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-white\/90 { color: rgba(255, 255, 255, 0.9); }

/* === Scroll smooth === */
.scroll-smooth { scroll-behavior: smooth; }

/* === News filter === */
.news-filter {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

/* === Selected Text === */
::-moz-selection {
  background-color: var(--primary);
  color: white;
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* === Focus === */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* === Form Styles === */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  background: white;
  transition: all 0.2s;
  outline: none;
  font-size: 0.875rem;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.1);
}

.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  background: white;
  transition: all 0.2s;
  outline: none;
  font-size: 0.875rem;
  color: var(--text-muted);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
}

.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.1);
}

.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  background: white;
  transition: all 0.2s;
  outline: none;
  font-size: 0.875rem;
  resize: vertical;
  min-height: 120px;
}

.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.1);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* === Success/Error Messages === */
.alert-success {
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.875rem;
  font-weight: 500;
}

.alert-error {
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.875rem;
  font-weight: 500;
}

/* === Stats Section === */
.stats-section {
  padding: 4rem 0;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-dark));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .stat-value { font-size: 2.25rem; }
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

/* === Responsive utilities === */
@media (max-width: 639px) {
  .sm\:hidden { display: none !important; }
}

/* === Details/Accordion === */
details.card {
  cursor: pointer;
}

details.card summary {
  list-style: none;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

details.card summary::-webkit-details-marker {
  display: none;
}

details.card[open] {
  border-color: rgba(200, 162, 78, 0.3);
}

details.card .details-content {
  padding: 0 1.25rem 1.25rem;
}

details.card .chevron {
  transition: transform 0.3s;
}

details.card[open] .chevron {
  transform: rotate(180deg);
}

/* === Hover group utilities === */
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:text-primary { color: var(--primary); }
.group:hover .group-hover\:translate-y-0_5 { transform: translateY(2px); }

/* === Object cover for images === */
.object-cover { object-fit: cover; }
.object-top { object-position: top; }

/* === Special section backgrounds === */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
}

.bg-gradient-cta {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
}

/* === Document download list styles === */
.doc-list {
  max-width: 48rem;
  margin: 0 auto;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.doc-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(26, 86, 50, 0.3);
}

.doc-icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.doc-item:hover .doc-icon {
  transform: scale(1.1);
}

.doc-info {
  flex: 1;
  min-width: 0;
}

.doc-title {
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s;
}

.doc-item:hover .doc-title {
  color: var(--primary);
}

.doc-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-meta {
  text-align: right;
  flex-shrink: 0;
}

.doc-type {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  display: block;
}

.doc-size {
  font-size: 0.625rem;
  color: var(--text-muted);
}

.doc-download-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: all 0.3s;
  flex-shrink: 0;
}

.doc-item:hover .doc-download-icon {
  color: var(--primary);
  transform: translateY(2px);
}

/* === Responsive image containers === */
.img-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

/* === Scrollbar visibility fix for Firefox === */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) var(--bg-cream);
}
