/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-card: #242424;
  --accent: #d4a574;
  --accent-hover: #e8c49a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --border: #333333;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== ANIMATED BACKGROUND ===== */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.animated-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.07;
  animation: floatOrb 20s ease-in-out infinite;
}

.animated-bg .orb:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -10%;
  left: -10%;
  animation-duration: 22s;
  animation-delay: 0s;
}

.animated-bg .orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: #e8c49a;
  top: 50%;
  right: -10%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.animated-bg .orb:nth-child(3) {
  width: 350px;
  height: 350px;
  background: #c49060;
  bottom: -5%;
  left: 30%;
  animation-duration: 25s;
  animation-delay: -10s;
}

.animated-bg .orb:nth-child(4) {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 30%;
  left: 50%;
  animation-duration: 20s;
  animation-delay: -3s;
  opacity: 0.04;
}

.animated-bg .orb:nth-child(5) {
  width: 250px;
  height: 250px;
  background: #f0d5b0;
  top: 70%;
  left: 10%;
  animation-duration: 28s;
  animation-delay: -8s;
  opacity: 0.05;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(60px, -80px) scale(1.1);
  }
  50% {
    transform: translate(-40px, 60px) scale(0.95);
  }
  75% {
    transform: translate(80px, 40px) scale(1.05);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Floating particles */
.animated-bg .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}

.animated-bg .particle:nth-child(6) {
  left: 10%;
  animation-duration: 12s;
  animation-delay: 0s;
}
.animated-bg .particle:nth-child(7) {
  left: 25%;
  animation-duration: 15s;
  animation-delay: -2s;
}
.animated-bg .particle:nth-child(8) {
  left: 40%;
  animation-duration: 10s;
  animation-delay: -4s;
}
.animated-bg .particle:nth-child(9) {
  left: 55%;
  animation-duration: 14s;
  animation-delay: -6s;
}
.animated-bg .particle:nth-child(10) {
  left: 70%;
  animation-duration: 11s;
  animation-delay: -1s;
}
.animated-bg .particle:nth-child(11) {
  left: 85%;
  animation-duration: 13s;
  animation-delay: -3s;
}
.animated-bg .particle:nth-child(12) {
  left: 15%;
  animation-duration: 16s;
  animation-delay: -7s;
}
.animated-bg .particle:nth-child(13) {
  left: 60%;
  animation-duration: 9s;
  animation-delay: -5s;
}
.animated-bg .particle:nth-child(14) {
  left: 35%;
  animation-duration: 17s;
  animation-delay: -9s;
}
.animated-bg .particle:nth-child(15) {
  left: 80%;
  animation-duration: 12s;
  animation-delay: -11s;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Subtle grid overlay */
.animated-bg .grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 165, 116, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 165, 116, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 30s linear infinite;
}

@keyframes gridShift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar-scrolled {
  background: rgba(15, 15, 15, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.navbar-logo span {
  color: var(--accent);
}

.navbar-links {
  display: none;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--text-primary);
}

.navbar-cta {
  padding: 10px 20px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.navbar-cta:hover {
  background: var(--accent-hover);
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(26, 21, 16, 0.85) 50%, rgba(15, 15, 15, 0.9) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-stars .stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 2px;
}

.hero-stars .label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.03);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.btn-outline:hover {
  border-color: var(--accent);
}

/* ===== INFO BAR ===== */
.info-bar {
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.info-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 165, 116, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-label {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.info-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .info-bar-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== SECTIONS ===== */
.section {
  padding: 96px 24px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-top: 12px;
}

.section-title .accent {
  color: var(--accent);
}

.section-desc {
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SERVICES ===== */
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  padding: 32px;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(212, 165, 116, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.service-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== TRABAJOS / GALERÍA ===== */
.trabajos-section {
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.8) 0%, rgba(26, 21, 16, 0.3) 50%, rgba(15, 15, 15, 0.8) 100%);
}

.trabajos-loading {
  text-align: center;
  padding: 64px 0;
}

.trabajos-loading p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 16px;
}

.trabajos-empty {
  text-align: center;
  padding: 64px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.trabajos-empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.6;
}

.trabajos-empty h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trabajos-empty p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.trabajos-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 480px) {
  .trabajos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .trabajos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .trabajos-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ===== TRABAJO CARD ===== */
.trabajo-card {
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, opacity 0.5s;
  opacity: 1;
}

.trabajo-card.entering {
  opacity: 0;
  transform: translateY(20px);
}

.trabajo-card.entered {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.trabajo-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(212, 165, 116, 0.1);
}

.trabajo-img-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
}

.trabajo-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trabajo-card:hover .trabajo-img-wrapper img {
  transform: scale(1.08);
}

.trabajo-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trabajo-card:hover .trabajo-img-overlay {
  opacity: 1;
}

.trabajo-zoom-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.trabajo-img-wrapper.img-error {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-secondary);
}

.trabajo-img-wrapper.img-error::after {
  content: '📷';
  font-size: 3rem;
}

.trabajo-card-body {
  padding: 16px;
}

.trabajo-titulo {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trabajo-fecha {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

/* ===== LOAD MORE ===== */
.trabajos-load-more {
  text-align: center;
  margin-top: 48px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--accent);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-load-more:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.2);
}

.btn-load-more-spinner {
  display: inline-flex;
}

.spinner-small {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(212, 165, 116, 0.3);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.trabajos-count {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 12px;
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 24px;
  background: linear-gradient(90deg, rgba(212, 165, 116, 0.06) 0%, rgba(26, 26, 26, 0.9) 50%, rgba(212, 165, 116, 0.06) 100%);
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section .cta-icon {
  font-size: 3rem;
  margin-bottom: 24px;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 64px 24px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 12px;
  line-height: 1.7;
}

.footer h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-hours {
  list-style: none;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-hours li span:last-child {
  color: var(--text-primary);
}

.footer-hours li .closed {
  color: #ef4444;
}

.footer-contact a,
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 32px;
  text-align: center;
  color: #666;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: #141414;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  padding: 32px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--border);
  color: var(--text-primary);
}

/* ===== QUIZ ===== */
.progress-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.progress-step {
  height: 6px;
  flex: 1;
  border-radius: 3px;
  background: var(--border);
  transition: background 0.3s;
}

.progress-step.active {
  background: var(--accent);
}

.quiz-step-label {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.quiz-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.quiz-subtitle {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .quiz-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quiz-option {
  padding: 20px;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: left;
}

.quiz-option:hover {
  border-color: #555;
}

.quiz-option.selected {
  border-color: var(--accent);
  background: rgba(212, 165, 116, 0.08);
  box-shadow: 0 4px 20px rgba(212, 165, 116, 0.1);
}

.quiz-option .emoji {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 8px;
}

.quiz-option .label {
  font-weight: 600;
  font-size: 1.05rem;
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-ghost {
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-ghost:disabled,
.btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-primary.small {
  padding: 12px 28px;
  font-size: 0.95rem;
}

/* ===== RESULTS ===== */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.results-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.btn-accent-outline {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-accent-outline:hover {
  background: var(--accent);
  color: #000;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.result-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(212, 165, 116, 0.08);
}

.result-card-body {
  padding: 20px;
}

.result-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.result-card .desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.result-tag {
  padding: 4px 10px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.75rem;
  border-radius: 20px;
}

.result-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.result-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 20px;
  position: absolute;
  top: 12px;
  right: 12px;
}

.result-img-wrapper {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-secondary);
}

.result-img-wrapper img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

/* ===== LOADING ===== */
.loading {
  text-align: center;
  padding: 64px 0;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ===== NO RESULTS ===== */
.no-results {
  text-align: center;
  padding: 64px 0;
}

.no-results .icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.no-results h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.no-results p {
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto 24px;
}

/* ===== HIDDEN ===== */
.hidden {
  display: none !important;
}

.result-img-wrapper img{
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.result-img-wrapper img:hover{
  transform: scale(1.05);
}
