/* ============================================
   Día del Patrimonio Cultural 2026
   Región del Maule - El corazón de Chile
   Estilo inspirado en descubreelmaule.cl
   ============================================ */

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

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

:root {
  --color-green: #4A7C2F;
  --color-green-dark: #2D5016;
  --color-green-light: #ecfdf5;
  --color-gold: #D4A017;
  --color-gold-light: #F5C518;
  --color-earth: #8B6F47;
  --color-bg: #fafaf9;
  --color-white: #ffffff;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-border: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

::selection {
  background: rgba(74, 124, 47, 0.2);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
}

.header-logo-link {
  display: block;
  text-decoration: none;
}

.header-logo-img {
  height: 150px;
  width: 100%;
  max-width: 360px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.header-tagline {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.header-tagline svg {
  width: 16px;
  height: 16px;
  color: var(--color-green);
}

@media (min-width: 640px) {
  .header-tagline { display: flex; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  bottom: -50px;
  background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80') center/cover no-repeat;
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 700px;
}
.modal-footer{
    display:none !important;
}
.hero-badge {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  animation: fadeInUp 0.6s ease-out both;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold-light);
}

.hero-title {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title-line1 {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 500;
  color: white;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-title-line2 {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
  margin: 0.25rem 0;
}

.hero-title-line3 {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 500;
  color: var(--color-gold-light);
  line-height: 1.2;
  text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.hero-description {
  margin-top: 2rem;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-description strong {
  color: white;
  font-weight: 600;
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: none;
  animation: fadeInUp 0.6s ease-out 0.3s both;
  transition: color 0.2s;
}

.hero-scroll:hover {
  color: rgba(255,255,255,0.9);
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
  animation: bounce 2s infinite;
}

/* Hero wave bottom */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
  background: var(--color-bg);
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 3;
}

.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.5s ease-out;
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.stat-icon.green { background: linear-gradient(135deg, #059669, #047857); }
.stat-icon.gold { background: linear-gradient(135deg, #d97706, #b45309); }
.stat-icon.sky { background: linear-gradient(135deg, #0284c7, #0369a1); }
.stat-icon.rose { background: linear-gradient(135deg, #e11d48, #be123c); }

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

/* ============================================
   FILTERS
   ============================================ */
.filters-section {
  background: white;
  border-bottom: 1px solid var(--color-border);
  top: 171px;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}

.filters-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.filters-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin-right: 0.25rem;
}

.filters-label svg {
  width: 15px;
  height: 15px;
}

/* Province pills */
.filter-pill {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: none;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  background: #f3f4f6;
  color: #6b7280;
}

.filter-pill:hover {
  background: #e5e7eb;
}

.filter-pill.active {
  background: var(--color-green);
  color: white;
  box-shadow: 0 2px 8px rgba(74, 124, 47, 0.3);
}

/* Type select */
.filter-select {
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: none;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  background: #f3f4f6;
  color: #6b7280;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.filter-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 124, 47, 0.3);
}

/* Search */
.filter-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  margin-left: auto;
}

.filter-search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #9ca3af;
  pointer-events: none;
}

.filter-search {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.25rem;
  border-radius: var(--radius-full);
  border: none;
  font-size: 0.85rem;
  font-family: inherit;
  background: #f3f4f6;
  color: var(--color-text);
  transition: box-shadow 0.2s;
}

.filter-search::placeholder {
  color: #9ca3af;
}

.filter-search:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 124, 47, 0.3);
}

/* Clear button */
.filter-clear {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  border: none;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  background: #f3f4f6;
  color: #6b7280;
  transition: all 0.2s;
}

.filter-clear:hover {
  background: #e5e7eb;
}

.filter-clear svg {
  width: 14px;
  height: 14px;
}

.filters-result-count {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
}

/* ============================================
   ACTIVITIES GRID
   ============================================ */
.activities-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.activities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

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

/* ============================================
   ACTIVITY CARD
   ============================================ */
.activity-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.5s ease-out forwards;
}

.activity-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #e5e7eb;
  transform: translateY(-4px);
}

.activity-card-bar {
  height: 4px;
}

.activity-card-body {
  padding: 1.25rem;
}

/* Card header */
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.card-type-badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: white;
  white-space: nowrap;
}

.card-province-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-province-badge svg {
  width: 10px;
  height: 10px;
}

/* Card title */
.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.activity-card:hover .card-title {
  color: var(--color-green);
}

/* Card info */
.card-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.card-info-row svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  color: #d1d5db;
}

.card-info-row .truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card tags */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
}

.card-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-tag-gender {
  background: #fff1f2;
  color: #e11d48;
}

.card-tag-accessible {
  background: #eff6ff;
  color: #2563eb;
}

.card-tag-originarios {
  background: #fffbeb;
  color: #b45309;
}

.card-tag-inmaterial {
  background: #faf5ff;
  color: #7c3aed;
}

/* Card footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
}

.card-footer-type {
  font-size: 0.7rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-footer-action {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-green);
  opacity: 0;
  transition: opacity 0.2s;
}

.activity-card:hover .card-footer-action {
  opacity: 1;
}

.card-footer-action svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

/* Modal header */
.modal-header {
  position: relative;
  padding: 1.5rem;
  color: white;
}

.modal-header-bg {
  position: absolute;
  inset: 0;
}

.modal-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.2), transparent);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255,255,255,0.35);
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
}

.modal-header-content {
  position: relative;
  z-index: 2;
}

.modal-type-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Modal body */
.modal-body {
  overflow-y: auto;
  max-height: calc(90vh - 140px);
  padding: 1.5rem;
}

/* Quick info grid */
.modal-quick-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .modal-quick-info {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quick-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid;
}

.quick-info-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.quick-info-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  font-weight: 600;
}

.quick-info-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Modal sections */
.modal-section {
  margin-bottom: 1.5rem;
}

.modal-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.modal-section-title svg {
  width: 16px;
  height: 16px;
  color: var(--color-green);
}

.modal-section-content {
  background: #f9fafb;
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.6;
  border: 1px solid #f3f4f6;
}

.modal-section-content.schedule-line {
  padding: 0.75rem 1rem;
  margin-bottom: 0.375rem;
}

/* Accessibility tags */
.acc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.acc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.75rem;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
}

.acc-tag svg {
  width: 13px;
  height: 13px;
}

/* Characteristics */
.char-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.char-tag {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid;
}

/* Contact links */
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-green);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--color-green-dark);
}

.contact-link svg {
  width: 15px;
  height: 15px;
}

/* Modal footer */
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--color-green);
  color: white;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(74, 124, 47, 0.3);
}

.btn-primary:hover {
  background: var(--color-green-dark);
  box-shadow: 0 4px 12px rgba(74, 124, 47, 0.4);
}

.btn-primary svg {
  width: 15px;
  height: 15px;
}

.btn-secondary {
  padding: 0.625rem 1.25rem;
  background: transparent;
  color: #6b7280;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #e5e7eb;
  color: var(--color-text);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  text-align: center;
}

.empty-icon {
  width: 80px;
  height: 80px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.empty-icon svg {
  width: 36px;
  height: 36px;
  color: #d1d5db;
}

.empty-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.empty-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  max-width: 400px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #111827;
  color: white;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

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

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

.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-desc {
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.7;
}

.footer-heading {
  font-weight: 700;
  color: white;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

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

.footer-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

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

.footer-links a:hover {
  color: var(--color-green);
}

.footer-links svg {
  width: 15px;
  height: 15px;
}

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

.footer-province-grid a {
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-province-grid a:hover {
  color: var(--color-green);
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

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

.footer-bottom-text {
  font-size: 0.75rem;
  color: #6b7280;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 768px) {
  .filters-row {
    gap: 0.5rem;
  }
  
  .filter-search-wrap {
    max-width: none;
    margin-left: 0;
    width: 100%;
  }
  
  .modal-content {
    max-height: 95vh;
    border-radius: 20px;
  }
  
  .modal-footer {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
