[data-theme="dark"] body {
  background-color: var(--bg-body);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: #f7eed7;
}

[data-theme="dark"] .section-title {
  color: var(--text-strong);
}

[data-theme="dark"] .navbar:not(.scrolled) .nav-logo-text {
  color: var(--white) !important;
}

[data-theme="dark"] .navbar .nav-logo-base {
  opacity: 0;
}

[data-theme="dark"] .navbar .nav-logo-claro {
  opacity: 1;
}

[data-theme="dark"] .navbar:not(.scrolled) .nav-link {
  color: var(--white) !important;
}

[data-theme="dark"] .navbar:not(.scrolled) .nav-link:hover,
[data-theme="dark"] .navbar:not(.scrolled) .nav-link.active {
  color: var(--acento-100) !important;
}

[data-theme="dark"] .navbar.scrolled .nav-link {
  color: var(--text-page);
}

[data-theme="dark"] .navbar.scrolled .nav-link:hover,
[data-theme="dark"] .navbar.scrolled .nav-link.active {
  color: var(--acento-300);
}

[data-theme="dark"] .stats-grid {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .stat-item {
  border-color: rgba(222, 170, 96, 0.15);
}

[data-theme="dark"] .about-img-main,
[data-theme="dark"] .about-img-secondary {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .about-floating-card {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .about-feature {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .about-feature:hover {
  background: #102b1e;
}

[data-theme="dark"] .event-card {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .event-card:hover {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(201, 154, 85, 0.4);
}

[data-theme="dark"] .event-card-title {
  color: var(--white);
}

[data-theme="dark"] .events-capacity {
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .events-capacity:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(201, 154, 85, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .events-capacity-text h3 {
  color: var(--text-strong);
}

[data-theme="dark"] .btn-primary {
  color: var(--white) !important;
  border-color: var(--borde-acento-fuerte);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .btn-primary:hover {
  border-color: var(--acento-300);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .btn-secondary {
  background: rgba(222, 170, 96, 0.1);
  color: var(--acento-200);
  border-color: var(--borde-acento);
}

[data-theme="dark"] .btn-secondary:hover {
  color: var(--acento-100);
}

[data-theme="dark"] .form-submit {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .gallery-filter.active {
  font-weight: 700;
}

[data-theme="dark"] .ferias-highlight h3 {
  color: var(--text-strong);
}

[data-theme="dark"] .ferias-calendar {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .cal-day {
  color: #8ea79a;
}

[data-theme="dark"] .cal-day.has-feria {
  color: var(--white);
}

[data-theme="dark"] .cal-day.today {
  color: var(--white);
}

[data-theme="dark"] .cal-evento-nombre,
[data-theme="dark"] .cal-evento-dato dd {
  color: var(--text-strong);
}

[data-theme="dark"] .cal-evento-dato dt {
  color: var(--acento-300);
}

[data-theme="dark"] .cal-evento-desc {
  color: var(--text-note);
}

[data-theme="dark"] .marca img {
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

[data-theme="dark"] .gallery-item {
  border-color: rgba(222, 170, 96, 0.2);
}

[data-theme="dark"] .contact-info {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .contact-info-text h3 {
  color: var(--text-strong);
}

[data-theme="dark"] .contact-form-wrapper {
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .contact-form-wrapper h3 {
  color: var(--text-strong);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: var(--bg-body);
  color: var(--text-strong);
  border-color: rgba(222, 170, 96, 0.25);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
  color: var(--form-help-color);
}

[data-theme="dark"] .form-status--ok {
  background: rgba(76, 160, 110, 0.14);
  border-color: rgba(120, 190, 150, 0.45);
  color: #cfe9da;
}

[data-theme="dark"] .form-status--error {
  background: rgba(200, 80, 60, 0.14);
  border-color: rgba(230, 140, 120, 0.45);
  color: #f6cfc6;
}

[data-theme="dark"] .form-status a {
  color: var(--acento-300);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
  border-color: var(--acento-400);
  background: #0a1b12;
  box-shadow: 0 0 0 4px rgba(222, 170, 96, 0.2);
}

[data-theme="dark"] .custom-select-trigger {
  border-color: rgba(222, 170, 96, 0.25);
}

[data-theme="dark"] .custom-select-trigger:hover {
  border-color: var(--acento-400);
}

[data-theme="dark"] .custom-select.open .custom-select-trigger,
[data-theme="dark"] .custom-select-trigger:focus {
  border-color: var(--acento-400);
  box-shadow: 0 0 0 4px rgba(222, 170, 96, 0.2);
}

[data-theme="dark"] .custom-select-options {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .footer {
  background: var(--bg-section-alt) !important;
  border-top: 3px solid var(--acento-500) !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

[data-theme="dark"] .footer-brand .nav-logo-text {
  color: var(--white) !important;
}

[data-theme="dark"] .footer-brand p {
  color: var(--text-note);
}

[data-theme="dark"] .footer-column :is(h3, h4) {
  color: var(--acento-300);
}

[data-theme="dark"] .footer-column ul li a,
[data-theme="dark"] .footer-column ul li span {
  color: var(--text-page) !important;
}

[data-theme="dark"] .footer-column ul li a:hover {
  color: var(--acento-200) !important;
}

[data-theme="dark"] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .footer-bottom p,
[data-theme="dark"] .footer-bottom-links a {
  color: #8ea79a;
}

@media (max-width: 992px) {
  [data-theme="dark"] .nav-links {
    background: var(--bg-surface);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  }

  [data-theme="dark"] .nav-link {
    color: var(--text-page) !important;
  }

  [data-theme="dark"] .nav-toggle.active span {
    background: var(--acento-300);
  }

  [data-theme="dark"] .nav-link:hover,
  [data-theme="dark"] .nav-link.active {
    color: var(--acento-300) !important;
    background: rgba(222, 170, 96, 0.12) !important;
  }

  [data-theme="dark"] .nav-dropdown-menu {
    background: var(--bg-section-alt) !important;
    border-color: rgba(222, 170, 96, 0.25) !important;
  }

  [data-theme="dark"] .nav-dropdown-item {
    color: var(--text-note) !important;
  }

  [data-theme="dark"] .nav-dropdown-item:hover {
    background: rgba(222, 170, 96, 0.15) !important;
    color: var(--acento-200) !important;
  }
}

[data-theme="dark"] .event-cta {
  border-top: 1px solid rgba(222, 170, 96, 0.15);
}

[data-theme="dark"] .dp-trigger.has-value {
  color: var(--text-strong);
}

[data-theme="dark"] .dp-popover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .dp-day.is-selected,
[data-theme="dark"] .dp-day.is-selected:hover {
  color: var(--green-900);
}

[data-theme="dark"] .pf-popover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .pf-popover .pf-search {
  background: var(--bg-body);
}

[data-theme="dark"] .pf-popover .pf-search:focus {
  background: var(--bg-surface);
}

[data-theme="dark"] .modal-caja {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .error-pagina {
  background: linear-gradient(135deg, #05140c 0%, #030a06 100%);
}

[data-theme="dark"] .error-caja {
  background: var(--bg-surface);
  border-color: var(--acento-400);
}

[data-theme="dark"] .error-caja h1 {
  color: #f7eed7;
}

[data-theme="dark"] .error-caja p {
  color: #d6e2db;
}

[data-theme="dark"] .error-codigo {
  color: var(--acento-300);
}
