/* ============================================
   MANUALES Y RECURSOS - PREMIUM STYLES
   Library & Documentation Design
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
.recursos-page {
  --rec-primary: #f59e0b;
  --rec-primary-light: #fbbf24;
  --rec-primary-dark: #d97706;
  --rec-secondary: #8b5cf6;
  --rec-accent: #10b981;
  --rec-field: #22c55e;
  --rec-lab: #a855f7;
  --rec-atlas: #6366f1;
  --rec-software: #06b6d4;
  --rec-glossary: #f43f5e;
  --rec-template: #f97316;
  --rec-surface: rgba(255, 255, 255, 0.03);
  --rec-surface-hover: rgba(255, 255, 255, 0.06);
  --rec-border: rgba(255, 255, 255, 0.08);
  --rec-text: #f1f5f9;
  --rec-text-muted: #94a3b8;
  --rec-gradient-1: linear-gradient(135deg, #f59e0b 0%, #8b5cf6 50%, #10b981 100%);
  --rec-gradient-2: linear-gradient(135deg, #1a1510 0%, #0c0a20 100%);
  --rec-glow: 0 0 60px rgba(245, 158, 11, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */
.recursos-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 158, 11, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
    var(--rec-gradient-2);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 0%, transparent 80%);
  animation: meshPulse 8s ease-in-out infinite;
}

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

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--rec-primary) 0%, transparent 70%);
}

.orb-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  background: radial-gradient(circle, var(--rec-secondary) 0%, transparent 70%);
  animation-delay: -4s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  top: 50%;
  left: 40%;
  background: radial-gradient(circle, var(--rec-accent) 0%, transparent 70%);
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.9); }
  75% { transform: translate(20px, 30px) scale(1.05); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(245, 158, 11, 0.6) 50%, transparent 50%),
    radial-gradient(2px 2px at 60% 20%, rgba(139, 92, 246, 0.5) 50%, transparent 50%),
    radial-gradient(2px 2px at 80% 50%, rgba(16, 185, 129, 0.5) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(245, 158, 11, 0.4) 50%, transparent 50%);
  background-size: 400px 400px;
  animation: particlesDrift 25s linear infinite;
}

@keyframes particlesDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-400px, -400px); }
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge-wrapper {
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--rec-primary-light);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--rec-text);
}

.title-gradient {
  display: block;
  background: var(--rec-gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--rec-text-muted);
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--rec-primary-light);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--rec-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--rec-border);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--rec-gradient-1);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
  transition: all 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.hero-cta svg {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.hero-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  color: var(--rec-text);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-search-btn:hover {
  background: var(--rec-surface-hover);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-3px);
}

/* Hero Visual - Books Showcase */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.books-showcase {
  position: relative;
  width: 300px;
  height: 280px;
  perspective: 1000px;
}

.book {
  position: absolute;
  width: 80px;
  height: 110px;
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.book:hover {
  transform: translateY(-15px) rotateY(-10deg) scale(1.1) !important;
  z-index: 10 !important;
}

.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 100%;
  transform: rotateY(-90deg) translateX(-7.5px);
  border-radius: 2px 0 0 2px;
}

.book-cover {
  position: absolute;
  inset: 0;
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  border-radius: 4px 8px 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  backdrop-filter: blur(10px);
}

.book-icon {
  font-size: 2rem;
}

.book-title {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--rec-text-muted);
  text-align: center;
}

.book-1 {
  left: 20px;
  bottom: 0;
  animation: bookFloat1 6s ease-in-out infinite;
}

.book-1 .book-cover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, var(--rec-surface) 100%);
  border-color: rgba(34, 197, 94, 0.2);
}

.book-1 .book-spine {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}

.book-2 {
  left: 80px;
  bottom: 20px;
  animation: bookFloat2 6s ease-in-out infinite;
  animation-delay: -1.5s;
}

.book-2 .book-cover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, var(--rec-surface) 100%);
  border-color: rgba(99, 102, 241, 0.2);
}

.book-2 .book-spine {
  background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
}

.book-3 {
  left: 140px;
  bottom: 10px;
  animation: bookFloat3 6s ease-in-out infinite;
  animation-delay: -3s;
}

.book-3 .book-cover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, var(--rec-surface) 100%);
  border-color: rgba(168, 85, 247, 0.2);
}

.book-3 .book-spine {
  background: linear-gradient(180deg, #a855f7 0%, #9333ea 100%);
}

.book-4 {
  left: 200px;
  bottom: 30px;
  animation: bookFloat4 6s ease-in-out infinite;
  animation-delay: -4.5s;
}

.book-4 .book-cover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, var(--rec-surface) 100%);
  border-color: rgba(245, 158, 11, 0.2);
}

.book-4 .book-spine {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

@keyframes bookFloat1 {
  0%, 100% { transform: translateY(0) rotateY(-15deg); }
  50% { transform: translateY(-10px) rotateY(-10deg); }
}

@keyframes bookFloat2 {
  0%, 100% { transform: translateY(0) rotateY(-10deg); }
  50% { transform: translateY(-15px) rotateY(-5deg); }
}

@keyframes bookFloat3 {
  0%, 100% { transform: translateY(0) rotateY(-12deg); }
  50% { transform: translateY(-8px) rotateY(-8deg); }
}

@keyframes bookFloat4 {
  0%, 100% { transform: translateY(0) rotateY(-8deg); }
  50% { transform: translateY(-12px) rotateY(-15deg); }
}

.visual-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--rec-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--rec-border);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--rec-primary-light);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   QUICK NAVIGATION
   ============================================ */
.quick-nav-section {
  position: sticky;
  top: 80px;
  z-index: 100;
  padding: 20px 0;
  background: rgba(12, 10, 32, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rec-border);
}

.quick-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}

.quick-nav::-webkit-scrollbar {
  display: none;
}

.qn-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  border-radius: 100px;
  color: var(--rec-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.qn-item:hover,
.qn-item.active {
  background: var(--rec-surface-hover);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--rec-primary-light);
}

.qn-icon {
  font-size: 1.2rem;
}

/* ============================================
   RECURSOS SECTION
   ============================================ */
.recursos-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #0c0a20 0%, #0f0d24 100%);
}

.resource-category-block {
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-category-block.revealed {
  opacity: 1;
  transform: translateY(0);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.category-icon {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rec-surface-hover);
  border-radius: 16px;
  font-size: 2rem;
}

.icon-ring {
  position: absolute;
  inset: -5px;
  border-radius: 20px;
  border: 2px dashed transparent;
  animation: iconRing 8s linear infinite;
}

.icon-field .icon-ring { border-color: rgba(34, 197, 94, 0.3); }
.icon-lab .icon-ring { border-color: rgba(168, 85, 247, 0.3); }
.icon-atlas .icon-ring { border-color: rgba(99, 102, 241, 0.3); }
.icon-software .icon-ring { border-color: rgba(6, 182, 212, 0.3); }
.icon-glossary .icon-ring { border-color: rgba(244, 63, 94, 0.3); }
.icon-templates .icon-ring { border-color: rgba(249, 115, 22, 0.3); }

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

.category-info {
  flex: 1;
}

.category-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rec-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rec-text);
  margin-bottom: 4px;
}

.category-desc {
  font-size: 0.95rem;
  color: var(--rec-text-muted);
}

.category-count {
  text-align: center;
  padding: 12px 20px;
  background: var(--rec-surface-hover);
  border-radius: 12px;
}

.count-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--rec-primary-light);
}

.count-label {
  font-size: 0.75rem;
  color: var(--rec-text-muted);
  text-transform: uppercase;
}

/* Resources Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Resource Card */
.resource-card {
  position: relative;
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  border-radius: 20px;
  padding: 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.resource-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--rec-glow);
}

.rc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.rc-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rec-surface-hover);
  border-radius: 12px;
  font-size: 1.5rem;
}

.rc-meta {
  display: flex;
  gap: 8px;
}

.rc-format,
.rc-size {
  padding: 4px 10px;
  background: var(--rec-surface-hover);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rec-text-muted);
}

.rc-format {
  color: var(--rec-primary-light);
}

.rc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rec-text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.rc-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--rec-text-muted);
  margin-bottom: 16px;
}

.rc-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.rc-tag {
  padding: 4px 10px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--rec-text-muted);
}

.rc-actions {
  display: flex;
  gap: 10px;
}

.rc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.rc-preview {
  background: var(--rec-surface-hover);
  border: 1px solid var(--rec-border);
  color: var(--rec-text);
}

.rc-preview:hover {
  background: var(--rec-surface);
  border-color: rgba(245, 158, 11, 0.3);
}

.rc-download {
  background: var(--rec-gradient-1);
  color: white;
}

.rc-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.rc-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Card Variants */
.card-lab .rc-icon { background: rgba(168, 85, 247, 0.15); }
.card-lab:hover { border-color: rgba(168, 85, 247, 0.3); box-shadow: 0 0 40px rgba(168, 85, 247, 0.2); }
.card-lab .rc-decoration { background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.05) 0%, transparent 70%); }

.card-atlas .rc-icon { background: rgba(99, 102, 241, 0.15); }
.card-atlas:hover { border-color: rgba(99, 102, 241, 0.3); box-shadow: 0 0 40px rgba(99, 102, 241, 0.2); }
.card-atlas .rc-decoration { background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05) 0%, transparent 70%); }

.card-software .rc-icon { background: rgba(6, 182, 212, 0.15); }
.card-software:hover { border-color: rgba(6, 182, 212, 0.3); box-shadow: 0 0 40px rgba(6, 182, 212, 0.2); }
.card-software .rc-decoration { background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.05) 0%, transparent 70%); }

.card-glossary .rc-icon { background: rgba(244, 63, 94, 0.15); }
.card-glossary:hover { border-color: rgba(244, 63, 94, 0.3); box-shadow: 0 0 40px rgba(244, 63, 94, 0.2); }
.card-glossary .rc-decoration { background: radial-gradient(circle at top right, rgba(244, 63, 94, 0.05) 0%, transparent 70%); }

.card-template .rc-icon { background: rgba(249, 115, 22, 0.15); }
.card-template:hover { border-color: rgba(249, 115, 22, 0.3); box-shadow: 0 0 40px rgba(249, 115, 22, 0.2); }
.card-template .rc-decoration { background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.05) 0%, transparent 70%); }

/* ============================================
   CTA SECTION
   ============================================ */
.recursos-cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(245, 158, 11, 0.2) 0%, transparent 60%),
    linear-gradient(180deg, #0f0d24 0%, #1a1510 100%);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  padding: 8px 20px;
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--rec-primary-light);
  margin-bottom: 24px;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--rec-text);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.15rem;
  color: var(--rec-text-muted);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.cta-primary {
  background: var(--rec-gradient-1);
  color: white;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.cta-secondary {
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  color: var(--rec-text);
  backdrop-filter: blur(10px);
}

.cta-secondary:hover {
  background: var(--rec-surface-hover);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    height: 300px;
  }
  
  .books-showcase {
    width: 280px;
    height: 220px;
  }
  
  .book {
    width: 70px;
    height: 95px;
  }
  
  .category-header {
    flex-wrap: wrap;
  }
  
  .category-count {
    width: 100%;
    margin-top: 16px;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .recursos-hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat {
    flex: 1;
    min-width: 80px;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  .quick-nav-section {
    top: 60px;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .category-header {
    padding: 20px;
  }
  
  .category-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-visual {
    height: 220px;
  }
  
  .books-showcase {
    width: 240px;
    height: 180px;
  }
  
  .book {
    width: 60px;
    height: 80px;
  }
  
  .book-icon {
    font-size: 1.5rem;
  }
  
  .book-title {
    font-size: 0.55rem;
  }
  
  .resource-card {
    padding: 20px;
  }
  
  .rc-actions {
    flex-direction: column;
  }
  
  .rc-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .recursos-hero,
  .hero-bg,
  .scroll-indicator,
  .quick-nav-section,
  .recursos-cta {
    display: none !important;
  }
  
  .recursos-page {
    background: white !important;
    color: black !important;
  }
  
  .resource-card {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #ccc !important;
    background: white !important;
  }
}
